You are viewing an archive of Victory Road.
Victory Road closed on January 8, 2018. Thank you for making us a part of your lives since 2006! Please read this thread for details if you missed it.
Okay, seriously, I just had to throw this out there. I'm in my Computer Science I class for my CS major, and I had come in there with the prior "knowledge" that I had to know Javascript relatively well when coming in there, so with a little help of a friend of mine, CodeAcademy, I felt pretty confident. To my surprise, however, it turned out that the subject matter had recently changed, and rather than Java, the class is now centered around a language known as Python.
My true experience with legitamite programming as it is currently is scant, but at least I've heard of languages like C, C++, Java, BASIC, Revolution *shudders* oooooohhhhhh...Revolution...but, Python was something I've never even HEARD of coming into this class. Any input from the good board frequenters as to their opinion/knowledge about this somewhat lesser known language?
My first programming class was in Python. I came in with next to no prior knowledge in any programming at all and I got a 3.5 in the class, mainly because I have a very bad habit of procrastination. From what I can tell with other languages, Python has very basic commands. You'll be fine... Probably
Python is comparable to Java or Javascript. Some notable differences in Python's syntax are the lack of brackets and semicolons, and using colons to indicate a block of code instead. The variable types have different names, like str instead of String. But Python has the same object-oriented capabilities as Java/Javascript.
class Student:
def __init__ (self, name, age, gender):
self.name = name
self.age = age
self.gender = gender
Sue = Student("Susan Miller", 20, "f")
print Sue.age
1 – Ditto616KYA likes python.
You can read everyone code... because it forces everyone to use the same formating.
Python is some times called executable pseudo code. Ether way its good starting language because it makes you use readable code. For example you could do this.
C(like)
| for( $items in array){ runFunction($item); doThisToo(5)} |
|
for( $items in array){ runFunction($item); doThisToo(5) } |
for items in array runFunction(item) doThisToo(5)
2 – Ditto616, SyracuvatTenlii
1 – TurtwigX|
If I remember correctly, Python is what Ditto has to use for his game development class.
|