PHP: a fractal of bad design (2012)
eev.ee
eev.ee
The step from HTML only to a slightly enhanced webpage with dynamic elements is easier than with any other language (JS included).
Combine that with the simplicity of mod_apache (that is available on almost every web host) and it is the easiest way into programming.
Create a mod_[ruby|python] that just evaluates ERB/Jinja templates and is as simple to integrate into apache and you might be able to do something good.
I'm sure you could write a shorter, (maybe) faster, cleaner preprocessor for Python, Java or Erlang, but I'm not sure it would be a viable solution, there. With PHP, I got this 'mostly unused hash comments' thing readily available, like a low-hanging fruit. And then, there was token_get_all() - the squeezer...
Insulting PHP developers and their work is certainly not the best way to "hurt" people's "opinion of PHP." It's a great way to come off as a pompous asshole, however.
How long would the list of problems be for any other non-statically typed language? Like for example, Javascript?
At least it would prepare them for what is to come.
Let other people make their own choices, no need to rant about a language you dislike to try and convince them to not use it.
PHP is badly conceived, we all know that, get over it !
Nobody is forcing people to use it.