3 ms·
> think PHP is a hot mess. Have you used PHP in the last 5 years?
by hdfbdtbcdg 7y ago
> think PHP is a hot mess.
Have you used PHP in the last 5 years?
- tekkk 7y agoI'm not trying to pick a side here, and I'm sure modern PHP is fantastic with Laravel and all that. But it seems to me that the PHP-advocates are failing to understand that impressions matter a lot to developers. I wouldn't touch PHP with a ten-foot pole if I can. Not because modern PHP is terrible but that the baggage of terrible PHP is still strong in my memory, and I'm not willing the re-evaluate PHP as my choice for backend because of that. Period. That ship has sailed. Sure TS with something like Express has its disadvantages but I'm ok with it. It's the tool I use for a specific job and there's a lot more useful things to learn than another language & framework just for its sake.
- hdfbdtbcdg 7y agoI guess I'm coming from the perspective of having worked on terrible JS (serverside) code bases and then moved to modern PHP... I'm not calling JS a hot mess though. I'm sure there are great JS projects out there. It is really nice to use a framework again though rather than a loose collection of libraries.. > there's a lot more useful things to learn than another language & framework just for its sake. Agreed.
- chrisan 7y agoYou might be browsing the internet in an echo chamber. Javascript gets almost as much flak as PHP for the same gobs of terrible Javascript in peoples memories. Both are old languages and both had years of low quality devs cranking out terrible stuff.
- eitland 7y ago> But it seems to me that the PHP-advocates are failing to understand that impressions matter a lot to developers. Not a PHP advocate. But I do recommend people think carefully before they commit to either Javascript or PHP. Both are about equally good/bad in my opinion (I have written significant Javascript as far back as in 2005 and PHP later.) Both are useful and both have very very effective footguns built in (unlike Java, my personal favorite, who's footguns are less effectivebut who's more famous for its built in ball and chain). A significant advantage of PHP is it looks ugly and people already know they should be careful around it so they aren't so easily tempted to start using it for everything under the sun like they are with Javascript ;-)
- wavefunction 7y agoI wrote some PHP on Friday.
- hdfbdtbcdg 7y agoInteresting. Which version? Did you use an IDE (and an editor with good PHP bindings)? Was it a legacy project? Does the project use composer? What didn't you like?