Udemyintermediateen

Functional Programming with Scala Cats

Learn Scala's functional programming with typeclasses and the powerful Cats library. Master elegant, reusable code!

4.4(303)
2,061students
12h 47m
Certificate
Leandro Galvan
Leandro GalvanSenior Software Engineer

Course Content

Functional Programming with Scala Cats is an intermediate-level Udemy course taught by Leandro Galvan. It runs 12h 47m, is taught in English, and includes a certificate of completion. Learners rate it 4.4 out of 5 from 303 reviews, with 2,061 students enrolled. It is a paid course, last updated December 2022.

Embark on a deeper dive into Scala development beyond the basics! You might start Scala as "a better Java," familiarizing yourself with classes, traits, and pattern matching. Then, you'll encounter powerful higher-order functions like map, filter, and fold – a tantalizing introduction to functional programming. But Scala offers so much more!

This course unlocks the potential of functional programming to create code that is more generic, robust, and testable. We'll explore how applying functional principles can elevate your Scala skills.

The course is structured into three key sections:

1. Mastering Typeclasses:

We'll tackle the core concept of typeclasses using a practical example: encoding and decoding objects to/from bytes. You'll learn to define your own typeclasses and leverage the typeclass pattern for writing polymorphic code. Gain the ability to write reusable and adaptable code structures.

2. Exploring Essential Functional Programming Typeclasses:

Dive into the world of common functional programming typeclasses, including Monads, Applicatives, and Functors. We'll utilize the Cats library for practical implementations and employ Discipline, ScalaCheck, and ScalaTest to rigorously test their laws. You'll master writing lawful instances for any type and automate validation through testing.

3. Practical Functional Programming Techniques:

Apply your knowledge to solve real-world programming challenges using functional structures. Learn to:

  • Implement validations with the Validated datatype.
  • Utilize dependency injection with the Reader monad.
  • Track data within computations using the Writer monad.
  • Manage state effectively with the State monad.
  • Write stack-safe computations using Trampolines.
  • Achieve lazy computations with the Eval monad.
  • Compose monad stacks using monad transformers like ReaderT and OptionT.
  • Suspend effects with a practical IO monad implementation.

This course emphasizes learning by doing. Expect plenty of in-video exercises, quizzes, and assignments at the end of each section to solidify your understanding.

Join us and unlock the power of functional programming in Scala!

$ whoami — the devs behind tutorialsearch.io

Need a web app built? Hire the team behind TutorialSearch.io

We ship fast, production-grade full-stack apps (Next.js, React, edge infra) — the same stack that powers this site.

skillshare
skillshare
5.0(609)
51m
intermediate
skillshare

PLC Programming

by Allen Mupandasekwa

5.0(44)
2h 50m
all
skillshare