Announcement
iPhone DZone: Fresh Links On Your iPhone by matt at Sat Jul 05 14:09:51 EDT 2008
Reading DZone on your iPhone just got a little bit easier. Visit http://dzone.com/iphone from your iPhone to try out our beta iPhone support. You can view stories, filter by tags, and login. We'd appreciate your feedback at feedback@dzone.com.
All it takes is one vote. Make it yours. Login and vote now.
By skoop
via sitepoint.com
Published: May 09 2008 / 15:53
Against all odds, I found myself with a little spare time this week. Rather than do something sensible like clean the garage or get some exercise, I took the opportunity to learn a new programming language: Python.
Comments
Tantalus replied ago:
"Both languages are also a little quirky when it comes to their handling of Unicode text."
I like how 'not supporting Unicode is any meaningful sense' is a 'quirk' of PHP. Here I thought Python didn't have, say, tail-call optimization, but I guess it's just 'quirky' in its support for it. Awesome.
"These let you split and combine lists (the equivalent of PHP arrays)"
Python dicts are a better equivalent of PHP arrays.
I'm not sure why you would even compare these languages, Python is general purpose and PHP is not. Of course PHP is better as for frontend web templates and such...that's what it's there for. Hey VHDL is better for hardware modeling than Python...
antych replied ago:
You can use both to develop web applications, so you can compare them in this context. It's not that hard to understand, is it?
Voters For This Link (24)
Voters Against This Link (3)