DEV Community

Discussion on: PHP sucks, can it suck less?

Collapse
 
joshualjohnson profile image
Joshua Johnson

Something funny I think we all forget is that there is a book out there famously titled "Javascript: The Good Parts". Where we all poo poo'd on javascript for being a bad language because we all implemented bad patterns and didn't fully understand prototypical inheritance. Back then we were throwing the term Javascript Sucks.

I do hope that we remove this idea that "PHP Sucks" because it really doesn't.

Collapse
 
sockmike profile image
Mike Smith

What you are forgetting, or simply do not realize is that the point of the book was to point people away from the bad parts, which never have to be used. There is a powerful and sane subset of JS.

No such subset in PHP. The poorly thought-out and mind-melting idiocy weaves throughout the language. It is impossible to write "PHP: The Good Parts" and still have a complete and useful language.

That PHP end users don't understand this, or understand CS concepts in general, is an indictment on the entire PHP ecosystem.

It is not just your comment, every pro-PHP comment lacks any technical sophistication or understanding. That is PHP in a nutshell.

PHP: for amateurs, by amateurs.