Friday, February 22, 2008

Java vs Python (Random thought)

Java 

Python 

Statically typed 

Dynamically typed 

Not compact, (through class)

Compact (scripting like)

GUI, swing, has a lot of nice widgets

Tkinter by default,

Bracket and semicolon

Colon and space

Javac compile into byte code

Command line interpreter

Parameter pass by value ( a value of reference to an object) 

Parameter pass by value( a value of reference to an object) 

  
  
  
  


 

Reference:

  1. python_java_side-by-side.html
  2. does java pass by reference or by value

No comments: