3 ms·
Scala's pattern matching (which btw is structured "value match { ... }" - think of .match as an always-present extension method) goes much farther than it is ea
by sk5t 8y ago
Scala's pattern matching (which btw is structured "value match { ... }" - think of .match as an always-present extension method) goes much farther than it is easy to imagine Java going quickly; consider examples such as regexp capture decomposition, case classes, static type checking, and guards.