Python and Java Compared?

Joshua Marshall jmarshal at mathworks.com
Mon Apr 2 15:11:42 EDT 2001


In addition to this strength of Python:

> - Dynamically typed and interpreted. Both of these make code clearer, 
> much easier to write and much more malleable. Interpreted code is also 
> easier to test. It is hard to overstate how valuable these factors are 
> for reliability -- far outweighing, in my mind, the value of strong 
> typing (though better optional type checking would be nice to have).

I'd like to add a strength of Java:

- Strong static typing.  Many errors are caught at compile-time,
rather than runtime (which could be a user's runtime and not your
own).  Also, code with explicit type information is often more
self-documenting.



More information about the Python-list mailing list