After reading this article, you will be able to:
– Differentiate between pure and impure functions
– Provide code examples in which impure functions cause unpredicted code behavior.
From Get Programming with Scala by Daniela Sfregola After reading this article, you will be able to: § Implement anonymous functions § Code using the concise notation for anonymous functions Take 37% off Get Programming with Scala by entering… Continue Reading →
This part of the article series delves into using map to transform an object contained in an Option and how to chain optional values together using flatMap.
From Get Programming with Scala by Daniela Sfregola
This article introduces the Option
type and discuss why you would (or wouldn’t) want to use it and when.