Scala/Play · Part 4
Scala/Play, Part 4: From Pattern Matching to map and getOrElse
Transform a value inside Option, then choose a fallback where it belongs. A walkthrough for Java developers of Scala 2 map, lambdas and getOrElse, derived from match and verified in a runnable lab.