Hacker News new | comments | show | ask | jobs | submit login

One nice thing about PHP is that despite its archaism it keeps growing as a language. The 5.3 release alone added anonymous functions, namespaces, consts and many internal improvements. I recently rewrote one of my projects from the 4.x era for version 5.3 and found myself thinking that I don't hate PHP so much anymore. I still don't like it either, but at least I know the language is in good hands anyway.

The problem is that they add them without breaking any backwards compatability, so you end up with unpleasantries like the \ namespace separator.

On the other hand breaking compatibility the way they did with Python 3 is reckless. Ask someone who has a huge code base with, say, test scripts that do 'print' a lot if they are eager to switch to Python 3.

That's an easy enough fix, and one that's handled quite well by 2to3. In fact, 2to3 handles most things, although there is of course some stuff that needs to be done by humans. But that stuff is certainly not 'print'.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact