|
|
|
|
|
by kozhevnikov
2243 days ago
|
|
Can it be helped with a good linter? JavaScript had similar problems as there were more bad things about it than good, but with ESLint and a good config (Airbnb's or other) community evolved and most of the new stuff adheres to best practices by default. |
|
PHP doesn't have this accidental monopoly: you can use a language that doesn't require discipline and tooling to make something decent.
Bottom line, PHP is better than it used to be. But the technical debt remains, and it's easy to avoid if you can, so we do.
I started with PHP, but I have no reason to go back to it. It has no benefit and is worth it only if you have already a massive PHP code base, or a pool of PHP devs you need to employ.