Python vs Java

From WikiVS, the open comparison website
Jump to: navigation, search
This Page is a Stub.
This page is still missing more information. Please help by extending it!

Python is a language that encourages coding simplicity.

Java is verbose, and forces programmers to create larger code for a function, when compared to Python.

Java programs often run much faster than Python ones, however they also tend to consume more memory.

Java has several mature opensource GUI builders, more support for enterprise class application (see J2EE).

Java does not yet support lambda expressions, but they are scheduled for inclusion in Java 8. Lambda expressions are an integral part of Python.

Java has a C++-like syntax, but does not require separate header files for classes as C++. Python has an indentation-sensitive syntax and provides syntatic sugar like list comprehensions.

Java has built-in support for threading and synchronisation. Threads in python are limited by a single global lock where the 'C' implementation is called, and there is limited support for synchronisation.

[edit] Language Type

Java is a statically typed language. More errors are caught at development time Python is a dynamically typed language. More errors occur at runtime

See Also the Following Articles

Personal tools
Namespaces
Variants
Actions
Navigation
Ads
Toolbox