Python readability hints for a Java programmer

Posted by Samuel Carrijo on Stack Overflow See other posts from Stack Overflow or by Samuel Carrijo
Published on 2010-05-20T00:13:29Z Indexed on 2010/05/20 0:20 UTC
Read the original article Hit count: 602

Filed under:
|
|
|

I'm a java programmer, but now entering the "realm of python" for some stuff for which Python works better. I'm quite sure a good portion of my code would look weird for a Python programmer (e.g. using parenthesis on every if).

I know each language has its own conventions and set of "habits". So, from a readability standpoint what are conventions and practices which is "the way to go" in Java, but are not really the "pythonic way" to do stuff?

© Stack Overflow or respective owner

Related posts about python

Related posts about java