Hacker News new | ask | show | jobs
by open-source-ux 3419 days ago
I don't have any beef with PHP, although I switched from learning PHP to Python.

For web development, no other language will get you producing dynamic websites and deploying them as easily as PHP. Compare deployment of Python or Ruby web apps - messier and not simple.

What don't I like about PHP? The language itself. Its piecemeal, adhoc development is laid bare in its unattractive syntax (this is always subjective I know).

On the positive side, my impression is that the PHP community are open to criticism - they have to be given the amount of negative comments thrown their way.

This is in contrast to other language communities that have far too much zeal and sensitivity to criticism.

That criticism against PHP is also taken on board at times in the implementation of PHP's language features or best practices. I've been impressed by PHP's huge speed up in PHP 7. I wish other scripting languages would also address speed and memory usage with the same priority.

Finally, it's worth stating the obvious: if you're looking for a CMS, a message board, a blogging platform etc, PHP gives you enormous choice. And yes, some of these solutions do follow modern, secure coding practices. Look at the other popular scripting languages for web development and you'll find the variety of solutions far more spartan.