Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror

Comment Re:Probably not an issue for beginners? (Score 1) 215

Actually that comment is from over a year & a half ago. From TFA it looks like Guido now recommends learning 3.0 if you can:

It's easier to learn the differences between 2.6 and 3.0 after you've learned 3.0 than to go the other way. If you learned Python 2.6, you'd probably use a book that had 2.5 on the cover and it was written for 2.2 or 2.3 and sort of somewhat updated by the author. A lot of those textbooks actually still use idioms that already were deprecated in the 2.3 or 2.4 timeframe. It's quite possible that if you're using 2.6 that you're actually writing a dialect of the language that is mostly compatible with 2.3 or something that old which is I think about five years old by now. On the other hand, if you learn 3.0, in order to be able to work with 2.6, you only have to unlearn a few things because many 3.0 features have actually been backporte to 2.6, or were already available. There's a handful of things that are essentially different like print statement versus print function.

I'd switch tracks to 3.0 if possible as you'll be a bit more future-proof :)

Slashdot Top Deals

The most difficult thing in the world is to know how to do a thing and to watch someone else doing it wrong, without commenting. -- T.H. White

Working...