Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Most of it comes from wordpress...
In all seriousness, PHP is pretty good nowadays. With the classes and hints PHP 7 has, it is pretty good.
Most people who hate it used in like 2008, and back then it was not so great.
It's only downside is you can't really do concurrent code, neither is it compiled so the performance in comparison to something like c or java is a bit worse.
And there are a lot of people who read this article: https://eev.ee/blog/2012/... -
Also, PHP is easy in a deceiving way. It's totally easy to string something together that works, but has gaping security holes. Just look at the shitty WordPress plugin ecosystem.
On top of that, PHP attracts noobs while experienced devs rather leave, and that makes the ecosystem even shittier. -
sleek34486yPersonally, i wouldnt program any backend code with anything other than php it just feels it fits perfectly for what I want. Enjoy it and ignore that stupid hate it gets. Devs like to be all high and mighty by shitting on every language other than the one they like to the point it became a joke.
-
hajoe326yI started using PHP v4 way back in 2007/2008. It was the most practical language to use for creating dynamic web pages at the time, considering the alternatives.
PHP docs were the best; alongside function descriptions there wer practical examples with comments from the community forum. All searchable and downloadable as a handy .chm :) Still better than MS docs today IMHO. Keep in mind, SO was still not around.
I don't work with PHP that much today, but it does bring good memories.
Regarding PHPs bad rep, don't trust hipster dev opinions, and don't blame the tool for bad handy work. -
C0D4669026y@hajoe hey old timer, not many people around these parts from the good old days 😎
@filvia-sederici
PHP has always been a source of hatred. Just ignore it. Most of the hate has to do with how immature of a language it was compared to the likes of Java and ASP back in the php3/php4 days.
It has matured well since then (circa early 2000’s) php4 was a unpleasant mess at the time but if you took the time to learn it and it’s wrong doings it could, and still can be used for virtually anything.
People have always complained about JavaScript just as much, yet here we are with NodeJS.... and it’s crowd, I still don’t like it personally. -
@Quirinus I agree, I feel like nodejs is way messier than php (haven't tried it with ts yet)
But then again, php is just the interpreted language while node is an entire (web)server
Why the php hate?
Just started learning it today and it seems really powerful and pretty simple, I’m excited to learn more..
rant