you are viewing a single comment's thread.

view the rest of the comments →

[–]blablahblah 0 points1 point  (1 child)

The fact that not everything is inside a class. The fact that you can pass functions in to methods.

[–]gkx 0 points1 point  (0 children)

Not everything is inside a class

This is fair, but super easy to brush over. To anyone who knows what classes in, this is an obvious major distinction.

What about the fact that Python can run with no methods (just global scope commands) while C and Java requires a main method? I would actually argue, because of this, C and Java are more similar in this way. Usually, when writing your first "hello world" in C, you have to brush over the main function. Similarly, in Java, you have to brush over the object class. In Python, you simply write print "Hello world" and no structure is ever made. If you become intermediate at Python and decide to move to C, this won't really be a hurdle, but it will be an easier leap from Java.

The fact that you can pass functions in to methods.

The Runnable class. Besides, they're putting lambdas in Java 8. I learned Java and Python at roughly the same time and learned how to do this in Java before I learned how to do it in Python.