Scala
-
Testing Asynchronous Code
Asynchronous code is hard. Everyone knows that. Writing asynchronous tests is even harder. Recently I fixed a flaky test and…
Read More » -
Integration testing with Gradle
Unit testing works automatically using Gradle, but if you would like to have a separate set of integration tests you…
Read More » -
Listen to notifications from Postgresql with Scala
In the past I’ve written a couple of articles (Building a REST service in Scala with Akka HTTP, Akka Streams…
Read More » -
Scala typeclass explained: Implement a String.read function
In this short article I’d like to explain how you can use the typeclass pattern in Scala to implement adhoc…
Read More » -
Dependency injection: syntax sugar over function composition
Quoting Dependency Injection Demystified: “Dependency Injection” is a 25-dollar term for a 5-cent concept. *James Shore, 22 Mar, 2006 Dependency…
Read More » -
Refactoring with Kleisli Composition
For quite awhile we have been maintaining an application that processes XML and JSON data. Usually the maintenance consists of…
Read More » -
Divided We Win: an event sourcing / CQRS prospective on write and read models separation. Commands and Events.
In today’s post we are going to unveil some very interesting (in my opinion) architecture styles: event sourcing and command…
Read More » -
Easy validation in Scala using Scalaz, Readers and ValidationNel
I’m working on a new book for Packt which shows how you can use various Scala frameworks to create REST…
Read More » -
The Top 100 Scala Libraries in 2015 – Based on 64,562 GitHub Libraries
What are the top libraries used by some of the most popular Scala projects on GitHub? Based on analyzing 64,562…
Read More »