News for hackers. Stuff that matters.
Re:Java 21: What’s New? by monksy on Wednesday August 09, 2023 @05:26PM (#37068660)
Scala

obj match { case Point(x,y)=> println(x+y) }

Re:Java 21: What’s New? by diarrhea on Wednesday August 09, 2023 @05:50PM (#37068921)
Very similar in Python and Rust as well.
Re:Java 21: What’s New? by switchbak on Wednesday August 09, 2023 @05:52PM (#37068952)
Sadly no one wants to talk about Scala any more.
Re:Java 21: What’s New? by throwaway5959 on Wednesday August 09, 2023 @05:57PM (#37068996)
Even for Spark?
Re:Java 21: What’s New? by monksy on Wednesday August 09, 2023 @07:45PM (#37069929)
We don't talk about spark
Re:Java 21: What’s New? by throwaway5959 on Thursday August 10, 2023 @02:30PM (#37079916)
What? Why?