3 ms·
A few things are better, but the core design decisions were all bad, and they can't really be changed over time. No matter how many surface problems they clean
by db48x 3y ago
A few things are better, but the core design decisions were all bad, and they can't really be changed over time. No matter how many surface problems they clean up, you will always be better off using any other language.
- gjsman-1000 3y agoAbsolutely false and a misinformed statement. Every language has design mistakes (like what does “this” mean in JavaScript?). The only question is - how bad is it? PHP’s pretty average now, but gets more Java-like every release. I could make a very long list of quirks in JavaScript you’ve learned to ignore. Performance is also no longer a significant issue. Facebook, PornHub, Wikipedia, Etsy, Slack, and more are still happily ticking on PHP codebases.
- kyriakos 3y agoThese conversations have become so predictable it's funny. Someone will now bring up that Facebook wrote its own language called hack. Someone else will mention laravel. Another one will say he stepped using php xx years ago and never looked back so the language is still bad for him etc
- db48x 3y agoI admit that my most recent experience with PHP was from two whole years ago. If they’ve made any improvements since then they didn’t tell me. Still, I stand by my statement that anyone would be better off with almost any other language.
- xigoi 3y ago> gets more Java-like every release …and you consider that a good thing???
- gjsman-1000 3y agoWell, when this article was written, it had almost no sense of types and was purely dynamic. You could only do things like: public $string = “Hello” Now you can do things like: public ?string $string = null; public function appendToString (?string $append) : string {