Supercharge Scala Future | FP-Tower

Modern applications often need to describe complex workflows involving multiple external systems. These are notoriously difficult to get right as it requires handling errors, various retry strategies, and non-determinism because of concurrent executions. In this course, you will learn how to solve this problem using both imperative and functional programming.

This course is divided into three parts.

The first part covers building a CLI tool imperatively. Here, you will learn how to test code with external dependencies, handle errors, and retry if something goes wrong. One of the goals of the section is to discover how functional programmers came up with the notion of IO. It’s the commonest way to action the functional programming world.

In the next part, you will create and implement an IO class from scratch; this will solve two different problems, of which one is searching for a flight aggregator. In the final part, you will extend IO to execute tasks concurrently. Here, you will be looking to add concurrency methods to IO implementation so that you can execute some tasks in the background.

By the end of the course, you will be able to read and write code using popular Scala libraries such as cats-effect, Monix, and ZIO. This skill is in high demand.

All the resource files are added to the GitHub repository at: https://github.com/PacktPublishing/Supercharge-Scala-Future---FP-Tower

Type
video
Category
publication date
2022-10-28
what you will learn

Install SBT, Scala, and IntelliJ IDEA
Understand the difference between IO (cats-effect, Monix, ZIO) and Future
Learn to use lazy evaluation to repeat actions and execute code concurrently
Write property-based tests for real-world examples
Understand the dangers of blocking code in a concurrent environment
Execute a project on flight search aggregator

duration
298
key features
Learn by demystifying complex concepts using explanations that are free of confusing jargon * Gain the skills to join one of the many companies using functional Scala * Learn to think functionally with the help of all requisite resources and learn from scratch
approach
This course is designed with a practical and hands-on approach. In this course, you will write lots of Scala code, test it using both example-based and property-based tests, experience issues caused by blocking logic and concurrent execution, and work your way to efficient solutions in small and incremental steps. The author guides you through all the exercises and provides a complete set of solutions.
audience
This course is designed for developers interested in concurrency, functional programming, and backend developers. Scala developers more familiar with Akka, Play, and Future will also gain a lot from this course. Individuals who want to gain the skills to join one of the many companies using functional Scala and learn to think functionally will be best suited to this course.

You will need to have moderate programming experience with Scala. The author will take you through downloading and installing SBT, Scala, and an IDE.
meta description
Learn the most in-demand skills—functional programming in Scala. Build a CLI tool imperatively, create an IO class from scratch, and extend IO to execute tasks concurrently.
short description
This is an amazing course for anyone who wants to get started with functional programming with libraries such as cats-effect/ZIO and understand IO Monad in depth.

Learn about functional programming and effects from this most structured and well-thought-out course on Scala IOs.
subtitle
Master IO, a functional programming technique used to create simple, asynchronous, and concurrent workflows
keywords
Scala, SBT, supercharge Scala, FP-Tower, IO, functional programming, cats-effect, Monix, ZIO, lazy evaluation, concurrency, CLI
Product ISBN
9781804616901