When we start our journey as a Scala developer, our first impression of the language may be that of ‘a better Java’. We learn about classes, traits, pattern matching and some other constructs that make our life easier. At some point we come across the amazing higher–order methods such as map, filter and fold. These serve as a great first taste of functional programming.
But what if I told you that there is much more than that? In this course I will show you how standard functional programming practices can help you write code that is more generic, robust and testable.
This course is divided into 3 main sections.
In the first section, we will learn about typeclasses. We will use as a driving example the problem of encoding and decoding objects into and from bytes. By the end of this section you will be able to create your own typeclasses and use the typeclass pattern to write polymorphic code.
In the second section, we will take a look at some of the most common typeclasses in functional programming, including Monads, Applicatives, Functors and many more. We will use the famous Cats library to provide us with their implementations, and we will use Discipline along with ScalaCheck and ScalaTest to test their laws. By the end of this section, you will be able to write lawful instances of these typeclasses for any of your types, and test their validity in an automated manner.
Specification: Functional Programming with Scala Cats
|
User Reviews
Be the first to review “Functional Programming with Scala Cats” Cancel reply
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Price | $12.99 |
---|---|
Provider | |
Duration | 11 hours |
Year | 2022 |
Level | Intermediate |
Language | English ... |
Certificate | Yes |
Quizzes | Yes |
$19.99 $12.99
There are no reviews yet.