Re:Go 2.0 Error Handling Requirements
by threeseed on Sunday October 14, 2018 @06:13PM
(#18215797)
Exactly the same with Scala.
Option types demand pattern matching and similar techniques for working with those types. Otherwise you just have "if (x.isDefined) a else b" blocks of code everywhere.
Option types demand pattern matching and similar techniques for working with those types. Otherwise you just have "if (x.isDefined) a else b" blocks of code everywhere.