3 ms·
PHP is a reasonable choice if you care about writing something that will still work out of the box 10 years from now. But of course this assumes that you work
by kijin 11mo ago
PHP is a reasonable choice if you care about writing something that will still work out of the box 10 years from now.
But of course this assumes that you work with a team that can see a year ahead, let alone 10.
- dgb23 11mo agoPHP has introduced breaking changes, deprecations etc. in a somewhat rapid fashion. PHP doesn't prioritize stability, but language features and cleanup. It's an impressive technical endeavor that has its merits, but comes with a tradeoff. Within the last 10 years, the language itself broke twice. And that's not counting the ecosystem on top of it. Common frameworks, libraries etc. tend to break relatively often as well. There are languages that are _much_ more stable and reliable than that.
- conradfr 11mo agoThat has not been my experience and I have a project that started in 2017 with PHP 7.1 & Symfony 3.3 and is now at PHP 8.4 & Symfony 7.3 with plenty of dependencies. Not everything will always update flawlessly but with Composer and a popular framework with planned depreciations and releases the ecosystem tends to sync fairly well.
- stefanfisk 11mo agoWhich specific deprecations and breaking changes are you referring to?
- hu3 11mo agoThis has not been my experience at all. PHP code requires very little maintenance to keep working for a decade+.