The option is a good way to avoid NullPointer-Exceptions.
The Pattern Matching is good for evaluating values.
The Exception handling is using pattern matching!
Enjoy! :-)
Feel free to comment or ask questions.
The code is located here:
Follow me on twitter:
0 Comments