Python Newbie

Ethan Furman ethan at
Sun Feb 24 21:34:37 CET 2013

On 02/24/2013 11:40 AM, piterrr.dolinski at wrote:
> Back in the day when C was king, or take many newer long established languages (C#, Java), the use of () has been widespread and mandated by the compilers. I have never heard anyone moan about the requirement to use parentheses. Now come Python in which parens are optional, and all of a sudden they are considered bad and apparently widely abandoned. Do you really not see that code with parens is much more pleasing visually? I could understand someone's reluctance to use parens if they are very new to programming and Pythons is their first language. But my impression here is that most group contributors are long-time programmers and have long used () where they are required. Again, I'm really surprised the community as a whole ignores the programming "heritage" and dumps the parens in a heartbeat.

Python will also allow you to have ';' at the end of your lines.  It does nothing for you, but perhaps you also find 
that "visually pleasing"?

I find () to be four extra keystrokes, not visually pleasing, and needed only to override order of operations.

One of the things I love about Python is its ability to get out of the way and let me work:

   - no variable declarations, just use 'em
   - no type declarations, just use 'em
   - no need to remember what's an object and what's not -- everything is an object
   - no need to cast to bool as everything has a truthy/falsey (something vs nothing) value

 From a different email you said PyScripter was showing you all the dunder methods?  You might want to try one of the 


More information about the Python-list mailing list