If you try to use it val directly, it fails. You must unpack it first.
To do something like x.get() in Scala when x is empty is a runtime error, not a compile-time error.
To do something like x.get() in Scala when x is empty is a runtime error, not a compile-time error.
No comments yet.