119 Comments
- Hortinstein, on 12/05/2008, -1/+41i cant believe how much of a fanboy I am for this programming language. In all my CPTS classes I always get really excited when they ok the use of python
I thought i nerd peeked hacking free netzero accounts to play Phantasy Star Online on my Dreamcast since my parents wouldn't get me internet. But seriously I love you Python - MrDowntempo, on 12/05/2008, -4/+30Dugg for the picture of the snake eating itself.
- disappointed, on 12/05/2008, -3/+28List comprehensions were the best thing about Python. Now we have set and dict comprehensions too. Fantastic.
Best. Language. Ever. - KirbyMeister, on 12/05/2008, -2/+27Python is the best language out there. It's like a magic programming machine that can handle anything you want, and it's fairly easy to integrate with C code if you need to speed up some parts or use an external library.
Also kudos for the python team having the balls to break compatibility to fix the crufty bits. - speedk0re, on 12/05/2008, -3/+27<Sonium> someone speak python here?
<lucky> HHHHHSSSSSHSSS
<lucky> SSSSS
<Sonium> the programming language
http://www.bash.org/?400459 - Mongolai, on 12/05/2008, -1/+13It's always a good time to learn Python
- 47f0, on 12/05/2008, -2/+12In what way does explicit passing of self break Python? And as far as the evils of whitespace go, I've been coding since '79. At this point, I have zero patience for a team that has fourteen different ideas of what looks pretty as far as white space goes.
Most of us humans grew up being exposed to whitespace - paragraph spacing, indentation. Cluttering up the code with a bunch of curly braces just so some jackoff can come up with his own new and stupid indentation is hardly a plus in readability or maintenance. - logic11, on 12/06/2008, -1/+11In fact, once I started using python I decided that syntactically significant whitespace is the greatest thing ever.
- Narshe, on 12/05/2008, -0/+9If I remember right, it wasn't random at all, and came from Monty Python.
- RoboDonut, on 12/05/2008, -0/+9And a user who has a ***** of friends.
I tried to submit this story right after it happened, with a link directly to the changelog (the page itself was used for release candidate 2, so digg wouldn't accept it), only to find it had been submitted minutes earlier by someone else. So I dugg that story, and, as of now, it still only has eleven diggs.
It's sad that a later resubmission of a review of Python 3.0 hits the front page instead of the actual information at the time of release. This further cements my opinion that the digg system is mangled beyond repair. "Social news" is no better than gossip, as it functions on the exact same same principles. Information becomes "fact" based on simple popularity, and the social-networking addicts end up running the site. Entertainment takes precedence over truth. - 47f0, on 12/05/2008, -0/+9Well, that whole no-upgrading thing works fine - as long as your apps are pure Python. I've been down this road. Is wxPython going to continue to support legacy versions? No. Do you import any DB modules? Will they be supported against legacy Python? What happens when the databases and the corresponding API specs change?
Again, if it's pure Python, you've got it made. But chances are, you depend on something outside of Python that's going to keep marching on - and not be backwards-compatible, so you're going to face the pain and sooner is better than later. If nothing else, sooner or later your operating system may walk out from underneath your version.
I don't have "many megabytes" but I've got just under six, which is a decent stack of code. Fortunately, 2.6 has been really helpful in spitting out messages and a smart editor can handle 90% of the violations I've encountered so far. - 47f0, on 12/05/2008, -1/+10You mean did they fix the whole squiggly braces junking up the code so fifteen people on a team can use twenty-three different indentation styles and ***** up the readability for everyone? Yep - fixed since version 1.00.
- bloodmoney, on 12/05/2008, -0/+9Both....then decide which one you like better. I did the exact same thing and found that I just liked Python better.
- incongruity, on 12/05/2008, -0/+8You really wouldn't be out that much if you had learned it -- the changes are relatively minor as far as mind-space goes and I really don't anticipate having that much trouble adjusting -- speaking as someone who's been hacking python since the 2.1 days (if not earlier)
- inactive, on 12/05/2008, -0/+8Glad to hear the shedding of backwards compatibility. They can now focus on moving the language to the next level. Microsoft could learn something from this in most facets of their software.
- fyngyrz, on 12/05/2008, -3/+11I am responsible for many megabytes of working legacy Python code. Not going to upgrade, can't face testing all that, it'd take years.
Losing b/w compatibility was their choice, but it won't work for me. Luckily, you can keep an older installation in place forever; there's no requirement to upgrade.
Well, on the positive side, now I have a 100% stable target to program to, as I know our working version of Python won't be changed any further. - inactive, on 12/05/2008, -0/+8that was both awful and unfunny
- MarcusE, on 12/05/2008, -1/+9Don't worry, good ol' % and pals are still around in 3.0.
- MWeather, on 12/05/2008, -0/+8Have other languages fixed the whole bracket thing?
- barfooz, on 12/05/2008, -0/+8$ python3.0
Python 3.0 (r30:67503, Dec 5 2008, 16:04:55)
[GCC 4.0.1 (Apple Inc. build 5484)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> print("%s:%d" %("hi",3))
hi:3 - Kruez, on 12/06/2008, -0/+7I love companies that aren't afraid to alienate some of their developer user base for the sake of progress. Thank you Python, thank you Apple. Microsoft? Maybe with Windows 8 I guess.
- incongruity, on 12/05/2008, -0/+7So you didn't build tests for your code? That and the 2to3 conversion app would get you pretty far -- but, yes, you can always keep the legacy install around and it'll last you quite some time -- there's strong precedent for that in this industry, isn't there?
- HonestAbe, on 12/06/2008, -0/+6You mean the whitespace = scope feature?
- incidentflux, on 12/05/2008, -0/+6Python for S60
Python for S60 is Nokia's port of the Python language to the (Nokia) S60 smartphone platform. In addition to the standard features of the Python language, PyS60 provides access to many of the phone's uniquely smartphone-y functions, such as camera, contacts, calendar, audio recording and playing, TCP/IP and Bluetooth communications and simple telephony.
It's open source, under Apache 2 and Python licenses.
http://opensource.nokia.com/projects/pythonfors60/
http://sourceforge.net/projects/pys60
http://wiki.opensource.nokia.com/projects/Python_f ... - barfooz, on 12/05/2008, -0/+6Does Ruby handle Unicode as well as Perl and Python do yet?
- Vektuz, on 12/05/2008, -0/+6Its not like the old versions would stop working. You can still (and forever will) get the 2.x version of python and use them.
And the final python 2.x is very stable. The only reason you'd go to 3.0 is to access the new features.
I mean... they have to work on the foundations at SOME point to keep making improvements at the top... - retrospects, on 12/05/2008, -0/+6i am learning python this Q at school. my group is the first to learn it at our school.... im excited it seems good!
- kjubik, on 12/05/2008, -0/+6Geany ? /me does light python code in Geany, 'nough for me.
(Read somewhere that python is enough loose-typed that any more 'intellisense' type of auto-fill is somewhat impossible. But maybe not so.) - HonestAbe, on 12/06/2008, -0/+6I love not having to type gratuitous brackets.
- SanjayM, on 12/06/2008, -0/+6Haskell too, while we're at it.
The point is python does them nicely, simply and "beautifully", which I approve of. - dsmx, on 12/05/2008, -0/+6ouroboros
- HonestAbe, on 12/06/2008, -0/+6"A new system for built-in string formatting operations replaces the % string formatting operator. (However, the % operator is still supported; it will be deprecated in Python 3.1 and removed from the language at some later time.) Read PEP 3101 for the full scoop."
- vitriolix, on 12/06/2008, -0/+5I've worked professionally with both, and they are quite close. I find the syntax of Python to be much cleaner and simple, the @ $ stuff in front of variable names in Ruby is just unnecessary and offputting to me.
as for ruby gaining speed over python, ruby is picking up speed, but by no means at the expense of python. considering heavyweights like google throwing themselves behind python in a major way (appengine anyone?) python is sure of a healthy support curve for the forseeable future. - altjeringa, on 12/05/2008, -0/+5it's an update not a re-write. the core syntax and vast majority of the language is, well exactly the same.
- inactive, on 12/06/2008, -0/+5The official tutorial:
http://docs.python.org/3.0/tutorial/index.html - eakle, on 12/06/2008, -0/+5Check out: http://arstechnica.com/news.ars/post/20081202-gett ...
- scabootssca, on 12/05/2008, -0/+5Hooray for geany \o/
- incongruity, on 12/05/2008, -0/+5Eventually you make the old one go away -- that's pretty much what's happened here (and will continue to happen) -- Python 2.6 is the stepping stone from 2.x to 3
And, sometimes, btw, you don't have that luxury when you're talking about fundamental changes to the language... - KirbyMeister, on 12/06/2008, -2/+6....You're still writing PHP?
- inactive, on 12/06/2008, -0/+4That's one of my favorite features of Python. It actually forces people to write clean, readable code.
Python is not Perl. The concept "there's more than one way to do it" is against the entire philosophy of Python. - incongruity, on 12/05/2008, -0/+4@ raisedinhell --
I guess I should have said that the half-way annoying changes are minor and many of the changes actually make some solid sense and you'll end up enjoying the language a bit more if you have the experience with the 2.x series to contrast against.
=) - inactive, on 12/05/2008, -0/+4I like both of them. Python is my language of choice, but that's probably more because I've had more experience with it.
IMO, Python's syntax is cleaner, but Ruby does some really cool things with the object model (then again, Python also uses the "éverything is an object" concept). - vade79, on 12/06/2008, -0/+4I want to bury you cause the tab/space thing annoys me, but your point of people using different indentation of braces is so true...you win this round sir.
- pyry, on 12/06/2008, -0/+4I think you're missing something in that comment:
}};}}}}};}}}};}}}}}};}}}}}};}}}}};
END END END END END - 1337McJenkins, on 12/06/2008, -0/+4I've read through the entire top 100 bash.org convo's because of your post.
* Porter is now known as PorterWITHGIRLFRIENDWHOISHOT
<Strayed> he shot his girlfriend? - inactive, on 12/05/2008, -1/+5Ah--I was under the impression (especially given in the Ars Technica article, and from when I skimmed the 3.0 page on python.org) that % was removed.
Nice to know that it still works... -
Show 51 - 100 of 120 discussions




What is Digg?
The Digg Toolbar for Firefox lets you Digg, submit content, and keep track of Digg even when you're not on the Digg site. Download the official