Archive for Programming Beginner

Why I Chose Python as the First Language to Learn

The code is a lot simpler than C/C++ and Java. You get to focus on developing your skills as a computer scientist and worry less on the syntax and semantics. MIT teaches Python in their CS1 course due to its simplicity. Here’s a comparison:

Assignment: Print “Hey Gio” on the screen in Java

print class Hello{
public static void main(String args){
System.out.prntln(”Hey Gio”);
}
}

Assignment: Print “Hey Gio” on the screen in Python

def main():
print “Hey Gio”

main()

Great difference, right? Python can serve as a stepping stone to more complex languages to learn. I feel that if I started with C or Java, then I would probably be overwhelmed and quit. I will be self taught with no professors and college friends to study with. The best route in this case will be easier route which is Python.

Comments (3)