DEV Community

Discussion on: PHP is still awesome (even though it's Awful!)

Collapse
 
buphmin profile image
buphmin

PHP has it's place. It is a good all round scripting language. Really you can use it just fine outside of web as well. I like the fact, as a scripting language, it has strict type checking at all. The pros/cons of strict typing can be debated, but I certainly prefer having it.

Performance of PHP 7+ is quite good for a scripting lang. Based off what I have seen it is the fastest interpreted language (feel free to correct with links). JS doesn't count, it runs with a JIT. What this means is performance is still bad compared to any pre/JIT compiled lang. But honestly it's good enough for most cases.

PHP is not dead, and will not die anytime soon. It's simplicity and flexibility as an OOP lang makes it useful for smaller projects that are not performance intensive. Also wordpress. And wordpress again. Last the PHP devs seem to be taking hints from the community and driving the language in a modern direction.

Collapse
 
the3rdc profile image
Cody Crumrine

"Last the PHP devs seem to be taking hints from the community and driving the language in a modern direction." Amen to that. PHP has made some major changes in the right direction over the years. Definitely not stagnant.