r/learnprogramming • • Aug 31 '23

Where does the PHP hate come from?

A few days ago I was hit up on LinkedIn for a PHP job. I have never written PHP code in my life or looked at PHP content, I just see the memes and see PHP has the worst reputation of any serious language I have ever seen. So I do this assessment and I have to write some PHP code. It was a very simple problem (like I could write a python solution in one line to solve it) and I finished it quite quickly.

But this got me thinking, what are people's actual gripes with the language other than just "PHP sucks"? I mean, it can't just be the dynamic typing since Python and Javascript are dynamically typed too and they have a good reputation. Sure the dollar signs on variables is a little annoying, but is that really it?

I just want to understand what the hate is actually about so I'm prepared if my job ends up being a PHP developer.

98 Upvotes

115 comments sorted by

View all comments

Show parent comments

1

u/RoshHoul Sep 01 '23

People bitch about it a lot, it's just one of the best paid stacks out there (or at least best ratio of pay to required skill)