3 ms·
Scala obj match { case Point(x,y)=> println(x+y) }
by monksy 3y ago
Scala
obj match {
case Point(x,y)=> println(x+y)
}
- diarrhea 3y agoVery similar in Python and Rust as well.
- switchbak 3y agoSadly no one wants to talk about Scala any more.
- throwaway5959 3y agoEven for Spark?
- monksy 3y agoWe don't talk about spark
- throwaway5959 3y agoWhat? Why?