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.
[ Parent
| on HN ]
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.
"Write-only language"
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