Linked by Thom Holwerda on Thu 9th Oct 2008 21:04 UTC, submitted by ganges master
General Development Python 2.6 has been released on October 1st. The major theme of this release is preparing the migration path to Python 3.0, a major redesign of the language. Whenever possible, Python 2.6 incorporates new features and syntax from 3.0 while remaining compatible with existing code by not removing older features or syntax. See the what's new docs for more details.
Thread beginning with comment 333076
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: Yeah, greate
by moxfyre on Fri 10th Oct 2008 03:57 UTC in reply to "Yeah, greate"
moxfyre
Member since:
2007-10-18

My biggest peeve with python is the use of spaces to delimit blocks of statements. Does somebody have something against punctuation or what?

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 ;)

Reply Parent Score: 2

RE[2]: Yeah, greate
by DoctorPepper on Fri 10th Oct 2008 16:41 in reply to "RE: Yeah, greate"
DoctorPepper Member since:
2005-07-12

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.

Reply Parent Score: 2

RE[2]: Yeah, greate
by alopecoid on Sat 11th Oct 2008 05:05 in reply to "RE: Yeah, greate"
alopecoid Member since:
2005-07-07

...the greatest programming language ever...


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.

Reply Parent Score: 1