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 (25)
Voters Against This Link (3)