Let's learn Scala together :)

Recent Posts

Futures in Scala

published on

Not-yet-available values in Scala: Futures!

Whenever we want to use a value that is not readily available yet – for example, when we call a function to compute or fetch something over the network – we can not be sure if things go as were planned. What if the database connection is down? What if the user typed in an invalid string?

Read More...

For + yield = for comprehension

published on

For loops and for comprehensions in Scala

Looping over a collection of items and transforming the individual elements within is quite a common task. So it seems natural that Scala offers a nice way to solve this.

Read More...

Options in Scala

published on

Handling missing values in Scala: Options

Whenever we want to use a value that is not readily available yet – for example, when we call a function to compute or fetch something over the network – we can not be sure if things go as were planned. What if the database connection is down? What if the user typed in an invalid string?

Read More...

Categories

About (1)

Dojo (1)

Intro (11)

Patternmatching (2)

Setup (1)

Testing (1)