r/developer • • Jan 11 '20

Discussion Why is PHP so much hated?

I personally more a frontend guy so I don't have much to do with it but when I come across PHP with backend devs or on the internet it's always seems like it's the most hated programming language. Why is it that way in your opinion?

10 Upvotes

3 comments sorted by

6

u/wviana Jan 12 '20

Why is PHP so hated? - Software Engineering Stack Exchange – https://softwareengineering.stackexchange.com/questions/263389/why-is-php-so-hated

1

u/[deleted] Jan 12 '20

In every country there is always that annoying guy who tries to outsmart everyone else by trying to make bold atatements that would make him look intelligent, the rest of those who say that have no idea why they say it, they are less intelligent people who regurgitate his BS and have no explaination.

Stay clear of those people and use an axe for trees, mining pick for mining and a shovel for digging, there is no miningaxeshovel, trust me.

1

u/[deleted] Jan 15 '20

PHP is a great place to start when learning about PDO and session management. I wouldn’t have someone dive straight into ASP or something similar without having a descent foundation for how backend web dev works.

PHP is a stepping stone to greater things. Why everyone hates it so much? Most likely because it’s this Frankenstein beast of a language that resembles C syntax and is outdated.

Since it once was the backbone of WebDev a lot of companies will still be reliant on fluent PHP devs. It’s kind of annoying when you have a Lamborghini sitting in the parking lot but, you are being told you have to drive the minivan.

And the sheer number of files you need to do anything useful is pretty annoying.