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
-
True 🙌
Only hate devs who abuse it, because PHP allows even the most primitive life form (a WorstPress dev) to write complete turd-ridden code...
I'm currently working on cleaning up a custom PHP "CMS" which was written by single braincell organisms over 8 years and is a COMPLETE mess of around 400'000 LOC and copied and modified to 5 subdomain websites without any use of packages.
The difference in well written code and complete crap can be lightyears apart in PHP... -
C0D4681383yAs a php dev, I hate it too some days.
As a php dev, I love it to bytes.
There's a fine line between a flexible language you can throw anything at and it'll probably work, and a flexible language you can throw any shit at and it still works - somehow.
Unfortunately many php devs go for the latter and fuck the rest of us over. -
I don't hate PHP. I strongly dislike WordPress "developers" that preach about it being god tier though.
-
My colleague told he hate PHP because it is an Israeli product.
I was like "I beg your pardon?" *Confused. -
PHP's rating correlates to version number for me*
PHP 5.6 gets a 5.6 out of 10.
PHP 7.4 gets a 7.4 out of 10.
PHP 8.1 gets a 8.1 out of 10.
By PHP v10 they'll probably have implemented generics types and ADTs, and deprecated arrays in favor of ext-ds.
(*same is true for Python in my opinion. Py3 gets a 3/10) -
C0D4681383y@magicMirror now give the exact use case you actually tripped that up.
In 16 years I'm yet to see that be triggered in the wild without deliberation. -
There are a lot of good reasons to hate it though.
Most are because of the history of the language and therefore really damn hard to fix - but they are still valid reasons to hate PHP.
All that quirks and annoyances - while i got over ten years of PHP experience and am still fine using it, i definitely wouldn't want to learn it as a new language today. -
@Oktokolo
I struggle to find a better language as "great first language" though.
I mean, I tell everyone "go learn Haskell and Rust", but that's just because I'm chaotic evil.
Fullstack JS can certainly work for a beginner, but the JS toolchain and ecosystem isn't exactly a well organized ordeal either.
Python can be easy to learn, but not easy to build a career on unless you have affinity with data science.
I guess Kotlin for mobile app dev is pretty neat & with a quick return on investment. -
PHP is cool. Wordpress is even okayish for a blog. Wordress... Devs... can fuck off
-
@bittersweet
The first language doesn't have to be the language to build a career on.
And Java, while definitely boring, is also a good first language just because of that. If they are into game making, C# seems to have prospered there somewhat.
Python just gives the fastest results with the smoothest learning curve - if you don't hate duck typing (which normally isn't the case in beginners).
Then there is TypeScript - making JavaScript sort of bearable.
And suggesting Haskell, OCaml, F# to math freaks is fine too.
Also, if there is patience and the will to learn, Rust might actually be good too. -
@JASON
ASP.net has historically been crippled by its tight bound to Microsoft IIS (probably the most-hated web server ever made).
I assume that ASP.net can now be used on Linux with Nginx and Apache too - but it probably doesn't help its spread, that Microsoft still has a past and reputation there.
.net is a pretty good eco system. I just wished, it wouldn't be under control of Microsoft...
Stop hating PHP for no reason
rant
#stupidtrends