78 Comments
- brainnovate, on 10/15/2008, -1/+47I think this is the price of progress these days and the fact that the Python core team is refactoring some of the internals is a great sign for the speed and stability of the language as a whole.
- dsmx, on 10/15/2008, -3/+35Here we are in the jungles of digg where once many years ago herds of tech stories roamed the landscape today only a few remain being out competed by barack obama spam and pictures. Many believe that this has been to the detriment of the digg ecosystem and call for a cull on the competing stories however this would go against the natural order of things in the new landscape of digg.
- drlha, on 10/15/2008, -1/+29Python 2.6 will continue to be maintained. There's nothing to worry about IMHO.
- RoboDonut, on 10/15/2008, -5/+29Python is a programming langauge. Microsoft Word 2007 ".docx" is a file format. It's like comparing apples and oranges.
Furthermore, OOXML's sole purpose was to destroy ODF and force people to pay for a new copy of Office.
Your argument doesn't make any sense. - BOFH139, on 10/15/2008, -2/+24Then why didn't you write it in assembly to start with?!?!?!?!
- incongruity, on 10/15/2008, -1/+23Here's why I actually really like how this has been handled... (from the article):
"""This is the role of the recently released version 2.6 of Python, which will serve as a transition version of the language. Users can easily upgrade their code from earlier versions of Python to version 2.6. The 2.6 interpreter will offer warning messages about aspects of the program that will no longer fly with version 3.0.
"We're encouraging people to upgrade to Python 2.6," van Rossum says. "2.6 can help you find the anachronisms in your code that you will need to change to be prepared for 3.0."
The development team also created a transition tool called 2to3 that converts Python 2.6 code into Python 3.0 code. You can then run your older code in 2.6, rewriting it until all the warning messages have been eliminated, then use 2to3 to convert the code into Python 3.0 specs."""
If that isn't a well managed transition through a major upgrade, I don't know what is. - oblique63, on 10/15/2008, -0/+20you do realize that Guido van Rossum works for Google, right?
- yayster, on 10/15/2008, -2/+22Hey dumbass, having to re-write all your code is good job security!
- incongruity, on 10/15/2008, -1/+18First off, the changes are fairly straightforward in most cases.
Second, the 2.6 branch was developed to be a stepping stone and aid for 3.0 conversion. Did you read the article? If any case, check out the following section:
"""The development team also created a transition tool called 2to3 that converts Python 2.6 code into Python 3.0 code. You can then run your older code in 2.6, rewriting it until all the warning messages have been eliminated, then use 2to3 to convert the code into Python 3.0 specs."""
Personally, as a developer working in Python, I think this is a pretty sweet way to improve the language in a way that does break backward compatibility but yet give a very viable transition path. In short, Python is even more awesome because of how its devs have managed this. - dse78759, on 10/15/2008, -2/+18
If I had known the creator of the language was named Guido, I'd have seen this betrayal coming. - arvinddeshpande, on 10/15/2008, -5/+21dugg for Python :-)
- sensor, on 10/15/2008, -1/+16wat
- oblique63, on 10/15/2008, -1/+16while python > all:
....python.increaseAwesomeness()
...
...
ERROR: Infinite Loop! - lulzitsadigg, on 10/15/2008, -1/+14They don't HAVE to update. They could keep running the old version and not touch a line of code. I doubt this new version brings anything that is absolutely must-have for them.
- canthraxp, on 10/15/2008, -1/+13Assembly is for retardeds, use a magnetized needle and flip your own bits, *****.
- inactive, on 10/15/2008, -6/+18Java blows. Hard.
So those of you who like it from college learn a real language and stop making us install Java Virtual Machine for your mediocre pieces of *****. - KevinJim, on 10/15/2008, -1/+13I love python. Easy, yet powerful. Also KDEs' plasmoids now support python so it's a win-win.
- lofilotek, on 10/15/2008, -0/+10"I am not a magician, I just use python!"
- OpCzar, on 10/16/2008, -1/+11From the wiki:
"Some of the largest projects that use Python are the Zope application server, YouTube[28][29][30], and the original BitTorrent client. Large organizations that make use of Python include Google[31], Yahoo!, CERN and NASA.[32] ITA uses Python for some of its components.[33]"
Wow, it sounds to be more worthy of learning than Ruby. - inactive, on 10/15/2008, -4/+14No Java really does blow - takes too much memory for the same task that takes little memory in other languages, Slow, Takes too long to load up, has a really bad OOP paradigm...
I'm not saing MY preference is better, I'm saying if your preference is java, your preference BLOWS - Radica1Faith, on 10/15/2008, -1/+10Harry Potter can
- tama00, on 10/15/2008, -2/+11SSSSSSSssssssssssssssssssssSSSSSSSSSssss
You set em up for that and you know it - tmalloy, on 10/16/2008, -0/+9It's part of the zen of python.
"The Zen of Python, by Tim Peters
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!"
Note the line: "Explicit is better than implicit" - joe90210, on 10/15/2008, -1/+9python is getting bigger and bigger all the time, it's already huge at google, not many people know youtube runs on python
- 3Den, on 10/16/2008, -0/+8The Android SDK is Java because Java is where the global cellular phone software market sits.
- iofthestorm, on 10/15/2008, -0/+6Han shot first!
- PFS1, on 10/15/2008, -1/+6 someone speak python here?
HHHHHSSSSSHSSS
SSSSS
the programming language
http://www.bash.org/?400459 - zephc, on 10/16/2008, -0/+5Your statement doesn't make any sense. If indentation is so trivial, and all decent editors do it, where is the issue? Python is pretty loose about indentation schemes. If your indentation is too sloppy, your code is going to look like ass anyway. Practically speaking, indenting is not an issue and just leads to legible code as a happy side-effect.
- reconsldr74d, on 10/16/2008, -0/+5The problem with your statement is that the definition of a good language depends on both the use and the user. Hell, some people like coding in VBasic.
- vvaduva, on 10/15/2008, -1/+5Nice..it's about time.
- wopas69, on 10/16/2008, -0/+4i always thought python would be leader soon and each and every story seems more positive for them go python your awesome
- championchap, on 10/15/2008, -3/+7C is for the gays, learn assembly.
- Grambo, on 10/16/2008, -0/+4Magnetized needles are for pussies, I modify the initial conditions of the universe prior to the big bang so that I have a computer perfectly constructed with the hard drives containing the exact code when I need it in the future.
- masterofshadows, on 10/16/2008, -0/+4You don't have to, python is set up to have multiple versions installed at the same time, you just have to change the she-bang line to match the old version you coded it for.
- TeamBaldwin, on 10/16/2008, -0/+3No kidding. Same reason my university insists on teaching it still...
- BOFH139, on 10/15/2008, -1/+4import 353
- DomZy, on 10/15/2008, -2/+5There is a conversion script:
http://docs.python.org/library/2to3.html
Although I haven't used it, and doubt it will catch everything, it will definitely make the transition easier. - moges, on 10/15/2008, -2/+5Its close enough to Python 2.* that you can learn the differences quite quickly. There are a lot of things (such as the change to the print method) that will take time to remove the 'habit' of typing it the old way, but in terms of the basic language, there isn't much different.
- inactive, on 10/16/2008, -0/+3Nobody uses Ruby, except Twitter, and, well...we all know how that's going.
- iofthestorm, on 10/15/2008, -0/+2Dugg mainly because it's a technical article, and I also started learning python recently for fun, because Google App Engine requires it. I almost thought I was on reddit for a second...
- brianez21, on 10/15/2008, -0/+2Does anybody know if they're going to resolve the "Great Interpreter Lock" that seems to plague the threading library in Python 2.x?
- georgemandis, on 10/15/2008, -4/+6That sound you hear is every Python developer over at Google whacking his or her head against the keyboard. Have you ever noticed how many of Google's projects incorporate Python in some manner? Their FAQ/Help sections all seem to use it and so does the Google App Engine.
Then again, I wouldn't be surprised to find out that a lot of Googlers had their hands in the upcoming changes, so they're probably readier than most.
At 2.6 looks like it's going to make the transition a little bit easier. - druakara, on 10/15/2008, -1/+3Uh - COBOL anyone? There is a reason most shops to don't upgrade when they have a large amount of code written in a particular language (and particular version)
- atigermaskact, on 10/29/2008, -0/+2python ftw.
should be taught in introductory courses in place of java. the courses make people think too much about data types and structures before hitting any big cs ideas.
and the library is AWESOME. - kamikarmy, on 10/16/2008, -0/+2At the end, I would have replied with:
print "HHHHHSSSSSHSSS"
print "SSSSS"
:) - Kruez, on 10/16/2008, -0/+2Would you be happier if they called it Cobra 1.0?
- jasarien, on 10/16/2008, -0/+2Not if you've already left said job. And from the looks of things, he wasn't worried about having to re-write it, he said he would be devastated to know that all the code he wrote would have to be changed... It's like painting a picture, and then a few years later, having to re-paint it... That's a bummer...
- Ziggy7273, on 10/16/2008, -0/+2Looks like I choose the right time to become a coder. Now who wants to teach me?
- MattBD, on 10/16/2008, -0/+2I chose a great time to start learning Python, eh?
- Ademan, on 10/20/2008, -0/+2You mean the global interpreter lock? There's a new module in 2.6 called multiprocessing i believe, which provides multithreading (well really, like it says, multiprocessing) by using separate python interpreter instances, which means that, first, "threads" are considerably heavier weight, and second, that communication between them is likely slow relative to communication between os threads, however its performance is quite competitive relative to normal python threading. ( http://www.python.org/dev/peps/pep-0371/ )
-
Show 51 - 78 of 78 discussions



What is Digg?
Browsing Digg on your phone just got easier with our enhancements to the