Programmer Wannabe

davidktw

Arch-Supremacy Member
Joined
Apr 15, 2010
Messages
13,547
Reaction score
1,301
it mentioned that python is similar to java?

I don't see how Python is similar to Java with the following differences

1) Radically different syntax such as Python(indentation nesting), Java(Brackets nesting)
2) Static type checking in Java vs Dynamic type checking in Python
3) Fully threaded model with JVM with GIL, GIL in CPython
4) Advance GC implementation in JVM, Reference Counting for Python
5) Globally well defined Inheritance model all the way from the top (Class/Object classes) in Java
6) Single parent inheritance in Java, Multiple parents inheritance in Python
7) OO concept strictly enforced in Java, while Python can be written without OO. You can't write even the simplest "Hello World" in Java without inside a Class.

Just these difference already greatly deviate the resemblance of Java and Python.
 
Important Forum Advisory Note
This forum is moderated by volunteer moderators who will react only to members' feedback on posts. Moderators are not employees or representatives of HWZ Forums. Forum members and moderators are responsible for their own posts. Please refer to our Community Guidelines and Standards and Terms and Conditions for more information.
Top