There's a lot of criticism of PHP in here, but no real facts behind it... We always love the language that we know, and hate others we don't, it's something we should try to keep under control.
There's a lot of criticism of PHP in here, but no real facts behind it... We always love the language that we know, and hate others we don't, it's something we should try to keep under control.
RTFA? My sentiment is not about the language so much as the culture around it. You can certainly write great code in it, but I also have worked plenty of PHP dev shops and have no desire to ever go back to that life. It's clear you're hurt that the language you know has a bad reputation. My condolences on that. I don't need to list off languages that I like to know that I don't want to use PHP or work with PHP developers.
But how exactly is a "PHP developer" equal to being a negative/bad programmer?
> over the years PHP has managed to get itself a reputation of messy codebases, inexperienced developers, insecure code, an inconsistent core library, and what not.
There's no point in having a conversation if we all need to cheer on the article. Yeah, I've made up my mind. I think this article is misguided. No amount of technical changes to PHP changes legacy codebases or exactly the opening paragraph of the article that everybody seems to be ignoring.
Java was known for being so slow as to be absolutely worthless 20 years ago, and it still has a reputation for being slow despite many benchmarks proving otherwise.
Yeah, sure, if you take a PHP project from a legacy code base and run a server with it, it'll probably get hacked within minutes, but that says nothing about current-gen PHP.
I have long given up on "language choice" as a marker that automatically says anything about a developer at all.
For me code is like a vehicle type. A truck is not fast, but it can haul more than a car can... If you get rid of trucks, some jobs don't get done. A bus can haul lots of people that would not all be comfortable riding on a truck. That still does not mean we should get rid of cars, because they have a purpose too.
The logic is simple, saying PHP is old and useless is like saying we need to get rid of trucks. Not saying what's better and why it's better is like saying "Get rid of all those trucks we use right now, we won't ever need them". That kind of talk is driven by arrogance and not reason.