We borrowed some #PHP code from #StackOverflow that had nested ternaries without parenthesis. Turns out that as a fatal error in PHP 8 on our production server but not on the earlier PHP on our development server. Wow... a language with breaking syntax changes. I'll stick with sound #Clojure, where you never have too few parenthesis.
@Crell
Just my subjective opinion, I know JS and TS quite well to compare them to PHP. That doesn't mean that JS is a bad lang. What I like about PHP is its similarity to C, also the slow speed of PHP's evolution is a key factor. Built-in support for types is a plus. I used to work fulltime as front-end dev for 10+ yrs. The amount of changes & new features during the past 5 years alone is just crazy, and JS is still able to surprise. PHP feels so calm. I just prefer back-end now.
@worldsendless
@worldsendless @amarok PHP is now effectively a typed language. JS is not. (TS doesn't count.)
JS async is just a mess to work with. #SorryNotSorry
The Packagist ecosystem is vastly more robust and reliable than npm/yarn/whatever.
Oth still have warts from their youth, and both have improved dramatically in the last decade. But I'd still rather work in PHP than JS most of the time for the type system alone.