To view parent comment, click here.
To read all comments associated with this story, please click here.
I totally agree with you. I used Perl for about seven years, pretty heavily, before getting into Python.
I tried to learn Python a couple of times, but like others have said, the whitespace thing through me off totally. In mid-2005, I took a contract with IBM, and the group I worked with was heavily into Python, so I bought "Learning Python" and the rest is history. Like parent said, I do not even notice the whitespace thing any longer, and find the readability of Python to be head and shoulders above Perl (and most other languages as well).
Advice to those who still scoff at Python because of enforced whitespace rules: Just try it. Grab a copy of "A Byte of Python" or perhaps "Dive into Python" and just do it, you really won't be sorry.
I don't know man. I mean, I think Python's string formatting features are pretty bad. Look at the way Groovy handles strings and interpolation... so much more elegant.
In fact, look at the way Groovy does closures. It's actually unbelievable how much you can accomplish in Groovy in just a few lines of code... and it is readable too.
Now, I'm not saying Groovy is the best programming language ever, but I'm just making a point.




Member since:
2007-10-18
Well, this is everybody's big pet peeve with Python. The first time I thought about switching from Perl to Python, I saw the whitespace thing and decided to ignore it for the next 3 years. Boy, big mistake. Now that I use Python for practically everything and love it to death, I don't notice the whitespace issues one bit.
I sometimes think Guido (Python's creator) takes a perverse delight in turning away all of us shallow-minded programmers. He thinks to himself, "Oh gosh, there goes another fool passing up the greatest programming language ever, with no idea of what he/she is missing." Well, I'm proud to have become a true believer