|
|
|
|
|
by throw_m239339
2025 days ago
|
|
> PHP has been improved by leaps and bounds from the days of 4, to the point of being a totally different language. No, most of bad parts are still here, all the stdlib inconsistancies and co are still here. Just because add more functions to a language doesn't change the bad design decisions at its core. The weird mix between dynamic typing and Java style rigidity (without most of its benefits) didn't go away. What makes it a different language since PHP 5? more type guards? no, it's still a templating language. |
|
The mixed typing is... honestly, it's amazing. You really need to try it out for yourself in PHP7 or 8 - you can lean on really strict type checking in your application, go the old route or generally adhere to strict typing and relax that for entry points and library calls.
Lastly, PHP has come down hard and actually introduced backwards compatibility in a few key places to address some of the biggest WATs, I've been pretty impressed by the balance of the language stewardship.
It does definitely have warts, but there are warts on everything that people actually use in industry.