#2
|
||||
|
||||
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
|
#4
|
||||
|
||||
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.
Code:
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 |
#8
|
||||
|
||||
KYA 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) Quote:
Quote:
Code:
for items in array runFunction(item) doThisToo(5) Random tip for new programers always set some rules. My basic rules: never use plural forms of words. abrivated names always 3 char use camel case (forExampleThisIsCamelCase) some like - or _ though ether way pick one and stick to it. Last edited by KingOfKYA; September 25, 2012 at 06:22:03 PM. |
#13
|
||||
|
||||
Quote:
Indeed I did, though it was a really, really, really simple one. There are many different modules, like PyGame, the one that I had to use for the game design. It really broadens out what the language can do. There's even a graphing one, which is kind of useful. |
|