News for hackers. Stuff that matters.
Re:Java record pattern matching in JDK 19 by halfmatthalfcat on Saturday May 14, 2022 @01:58PM (#31380567)
"...look something messy like Scala", I feel bad you feel this way as Scala is an incredibly powerful and elegant language.

It's ironic because you're throwing shade at Javascript when JS developers are doing the same thing against Typescript. Fearing what you don't know or understand under the guise that change is bad or things are "good enough".

Re:Java record pattern matching in JDK 19 by quilombodigital on Saturday May 14, 2022 @02:07PM (#31380641)
I agree Scala is very powerful. I said messy because it is "too powerful", added too many features. I think this is their mistake. I respect the community, but can show my opinion as you can about java.
Re:Java record pattern matching in JDK 19 by kaba0 on Saturday May 14, 2022 @06:01PM (#31383052)
I really don’t feel that Scala has too many features. It is a relatively small language which is very elegant due to having almost no edge cases. Sure, due to not having many features yet being very expressive it has to have very powerful language primitives that can be abused, but I really don’t think that it is as bad as its name.
Re:Java record pattern matching in JDK 19 by dopidopHN on Saturday May 14, 2022 @02:33PM (#31380898)
I really liked scala… until I had a to maintain a large and « old » code base in it.

I think messy fits.

Re:Java record pattern matching in JDK 19 by dboreham on Saturday May 14, 2022 @03:49PM (#31381655)
"Write-only language"
Re:Java record pattern matching in JDK 19 by dopidopHN on Sunday May 15, 2022 @12:18PM (#31388543)
Yeah that how it felt. It’s a bummer
Re:Java record pattern matching in JDK 19 by grumpyprole on Saturday May 14, 2022 @02:38PM (#31380950)
Java is also a messy language and the reason for a lot of the mess in Scala. If you want elegance, then you should probably learn something like Haskell.
Re:Java record pattern matching in JDK 19 by quilombodigital on Saturday May 14, 2022 @03:08PM (#31381275)
can we have a not-messy-not-elegant language? :)
Re:Java record pattern matching in JDK 19 by orthoxerox on Saturday May 14, 2022 @03:44PM (#31381611)
Eiffel?
Re:Java record pattern matching in JDK 19 by wiseowise on Saturday May 14, 2022 @02:51PM (#31381088)
> show my opinion as you can about java.

Showing your opinion doesn't make it immune from critique.

Re:Java record pattern matching in JDK 19 by quilombodigital on Saturday May 14, 2022 @03:09PM (#31381281)
true