DEV Community

Discussion on: Why does PHP get so much hate?

Collapse
 
leob profile image
leob • Edited

I think those views are largely based on the old-fashioned PHP of a decade ago, which was a "hackish" cobbled-together scripting language with an inconsistent API, no proper module system, and so on.

Modern PHP (version 7, and soon 8) is lightyears beyond your granddad's PHP in terms of performance, modularity, features (OOP) and so on.

Couple that with a framework like Laravel (as opposed to the spaghetti code of Wordpress) and you have an absolutely powerful and elegant development environment which can (even in this era) compete with the likes of Ruby on Rails, Python/Django or Node/Express.

Anyone who thinks PHP is dead and old-fashioned, think again, it's alive and kicking, and it's used a LOT.