Tag

get-programming-with-scala

What is Purity?

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.

Anonymous Functions in Practice

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 →

Using Option in Scala, Part 2: map and flatmap

From Get Programming with Scala by Daniela Sfregola

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.

Using Option in Scala, Part 1: introduction

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.

Getting Started with Scala


slideshare-getting-started-with-scala

From Get Programming with Scala
By Daniela Sfregola

© 2021 Manning — Design Credits