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
-
Why? PHP is not so bad. It is simple and tolerates many mistakes. Maybe that's why it's considered bad. Set the setting to "strict" and you'll have a full-grown programming language that doesn't tolerate mistakes.
I like PHP7, especially with the many great frameworks like Laravel, ZF3, ... -
@tracktraps I've tried to use types for everything; on parameters, return types on functions, etc. This has made PHP a much more sane language, but there are things PHP is just horrible at.
-
@RealKC PHP 7 is much better, but it's still missing a lot. It seems like they're just patching their crappy versions.
-
Oh ya? I am the same way, but with Classic ASP, even though I like it. I find myself cursing it constantly.
-
If PHP had a slightly better type system, pattern matching, and arrow functions, I'd be pretty happy.
Parameter inconsistencies I can deal with. I never use array_map or array_filter anyway, I use collections with functional methods, and those deal with the weird ordering for me. DateTime is a bitch, but Carbon is a great wrapper. Curl is retarded, but Guzzle makes it nice... etc.
But I switch/case and if/then are ugly compared to the good pattern matchers from Haskell and Rust.
And writing
->map(function(User $user): User use (..., ...) {...});
is getting old as well... just give me https://wiki.php.net/rfc/... already! -
@bittersweet That's why there are frameworks that work around this crap. I can't complain about PHP7 anyway. It's quite all right.
-
kurtr127547y@conmarap ahh I ask because of this rant https://devrant.io/rants/552737/...
Was hoping I could expand my collection 😂 -
vikkio617y@PhantomBKB I found the actual source https://w3techs.com/technologies/...
Is more than 80% -
gugnir888666ySoooo true!!! ðŸ˜ðŸ˜ðŸ˜ Then you look at Python and it feels as if Christmas had come early..
-
I will join the group of people yelling "<3 php"
Yeah, been in PHP 3 years.
Cant look back. I love it.
Related Rants
This is how I feel after working, almost exclusively, with PHP over the last 4 years.
rant
php
php #facepalm
programming