zlacker

[return to "PHP 8.2"]
1. user39+j7[view] [source] 2022-12-08 13:16:18
>>TimWol+(OP)
The worst part about PHP is constantly hearing from its detractors, who are often people who haven’t used the language in many years. Haystack needle order, $, fractal of bad design, it just gets old.

The language isn’t perfect but I love working with it, these 8.1 and 8.2 improvements have really made it sweet.

My biggest gripe at the moment is the (very old) behavior of e.g. preg_match() and sort(). You’ve got a small handful of these common functions that operate on their input by reference/in place which is gross. A new version of these would be welcome.

◧◩
2. vanill+Cq[view] [source] 2022-12-08 15:20:58
>>user39+j7
I feel the same, but for Java.
◧◩◪
3. cogman+Tr[view] [source] 2022-12-08 15:26:58
>>vanill+Cq
Yeah, the `InternalFrameInternalFrameTitlePaneInternalFrameTitlePane MaximizeButtonWindowNotFocusedState` jokes get a bit old.

Non-java devs think of java as Java 6 when in reality it has pretty significantly evolved in the last decade. I dare say that it's one of the most rapidly evolving mainstream languages on the market at this point.

◧◩◪◨
4. pie_fl+eP[view] [source] 2022-12-08 17:05:30
>>cogman+Tr
Most Java devs are on Java 8, because of how much Java 9 broke reflection, classloading, etc.
◧◩◪◨⬒
5. cogman+UQ[view] [source] 2022-12-08 17:13:47
>>pie_fl+eP
That's something that will likely change pretty rapidly. Springboot 3 is forcing Java 17 which is going to force a lot of conversations once 2 is fully retired. (free support for 2 ends next year)

The Java 8->11 transition was rough but honestly after that we've not really experienced a whole lot of pain. 16 has been a little bit of a pain as well since it closed some more unsafe holes. I think that's the last release, however, that's going to cause major headaches with migrations.

◧◩◪◨⬒⬓
6. no_wiz+O01[view] [source] 2022-12-08 18:04:52
>>cogman+UQ
I think Kotlin will see a nice rise in adoption, as the refactoring seems big enough to warrant moving to a language that embraces certain semantics and remove some magic.

I'm speculating though.

◧◩◪◨⬒⬓⬔
7. cogman+ud1[view] [source] 2022-12-08 19:06:37
>>no_wiz+O01
Kotlin, IMO, is experiencing the Ruby on rails effect. It's getting strongly associated with android development which has somewhat stifled general uptake of the language.

Java has been slowly adding the best kotlin features (such as data classes, records) which also makes it a bit harder to sell.

That said, I've introduced kotlin on a few teams and pretty much everyone that's worked with it has complimented it.

[go to top]