News for hackers. Stuff that matters.
Re:Usage statistics of server-side programming languages for... by minimaul on Monday September 13, 2021 @08:47AM (#28510810)
Yep. My employer is a mix of PHP and JS.

PHP 8 for our API, JS for the app that consumes it - sharing code both server-side and client-side.

It works really well for us.

Development on a modern version of PHP with a framework like Symfony or Laravel is so very different to development on old PHP5 versions.

edit: PHP 7.x and 8 let you do things like:

- no automatic type conversions

- typed function parameters and return types

- typed object properties

- named parameters

All of these are little niceties but they add up to making it fantastically easier to avoid stupid mistakes that used to be common with PHP.

Re:Usage statistics of server-side programming languages for... by kreetx on Monday September 13, 2021 @10:22AM (#28511868)
I'd argue that the first three are not all that little ;)