Chapter 7. Functional Idioms
In the previous chapter, we covered implicit parameters and implicit conversions. We saw how to enable elegant extension methods for your code. We also had a look at how the Scala compiler resolves implicits. Finally, we covered how implicits work, how to use them, and what kind of benefits they provide.
In this chapter, we'll cover the core
concepts of functional programming like
Pure functions, immutability, and higher-order functions. We'll build upon this understanding and introduce some of the design patterns that are prevalent in large functional programs that you'll no doubt run into once you start to use Scala libraries that focus on functional programming. Finally, we'll cover two popular functional programming ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access