Scala demo with Tuple and Option and Pattern Matching and Exception
Mike Møller Nielsen
The Tuple is good for returning multiple values without creating a class. The maximum number of values is currently 22. Which means that there is actually a type called Tuple22! 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: https://github.com/ekim197711/springboot-scala Follow me on twitter: https://twitter.com/MikeMoelNielsen ... https://www.youtube.com/watch?v=pYeeYNcFyrI
2020-01-17
0.0 LBC
Copyrighted (contact publisher)
165450969 Bytes