Scala
-
Making the Reactive Queue durable with Akka Persistence
Some time ago I wrote how to implement a reactive message queue with Akka Streams. The queue supports streaming send…
Read More » -
Explicit Implicit Conversion
One of the most common pattern we use on our day to day is converting objects from one type of…
Read More » -
Option.fold() considered unreadable
We had a lengthy discussion recently during code review whether scala.Option.fold() is idiomatic and clever or maybe unreadable and tricky?…
Read More » -
Scala Maps and Sorting
This is blog entry originally written in the middle May 2014. I also seem to writing this code every 3…
Read More » -
Scala for-comprehension with concurrently running futures
Can you tell what’s the difference between the following two? If yes, then you’re great and you don’t need to…
Read More » -
Spring Scala based sample bean configuration
I have been using Spring Scala for a toy project for the last few days and I have to say…
Read More » -
Spring Boot and Scala with sbt as the build tool
Earlier I had blogged about using Scala with Spring Boot and how the combination just works. There was one issue…
Read More » -
Memoization of Scala Streams
I learnt the hard way that scala internally uses memoization with Streams. This was my first attempt at a solution…
Read More » -
Spring-boot and Scala
There is actually nothing very special about writing a Spring-boot web application purely using Scala, it just works! In this…
Read More »