News for hackers. Stuff that matters.
Re:New language features since Java 8 to 17 by bestinterest on Sunday October 24, 2021 @02:55PM (#28980850)
Is that true though? nullability is a area I've heard /u/pron mention may be tackled in the future, mutable records seem like they will be tackled with the 'withers' concept in the future. Checked exceptions + changing the sugar of .stream().map I don't see ever changing. Properties I am unsure of.
Re:New language features since Java 8 to 17 by laurent92 on Sunday October 24, 2021 @03:47PM (#28981271)
Why should it be in the future. The syntax of .stream() has been awfully verbose since Java 8: in the middle of “.stream()….collect(toList())”, you need to squint to find the actual function name being applied between the flood of polluting calls, which loses the appeal of functional programming.

In my company we have f(list).map(…), which is a wrapper for the streams. But newcomers don’t like it because it’s not the standard.

Re:New language features since Java 8 to 17 by cogman10 on Sunday October 24, 2021 @03:00PM (#28980885)
AFAIK, the fate of nullability is tied pretty directly to Valhalla. It's constantly being brought up there.