JVM Languages
-
Dockerize your Scala application
Dockerizing a Scala application is pretty easy. The first concern is creating a fat jar. Now we all come from…
Read More » -
Kotlin and JUnit 5 @BeforeAll
Introduction In Kotlin, classes do not have static methods. A Java equivalent semantic can be provided to callers using the concept of…
Read More » -
Testing Kotlin with Spock Part 1 – Object
The object keyword in Kotlin creates singleton in a very convenient way. It can be used for example as a…
Read More » -
Defending Public-By-Default in Kotlin
Some people have spoken against Kotlin’s decision to make classes, methods, etc. public by default (when no visibility modifier is…
Read More » -
10 reasons to Learn Scala Programming Language
One of the questions my reader often ask me is, shall I learn Scala? Does Scala has better future than…
Read More » -
Kotlin – Reified type parameters sample
This post walks through a sample that demonstrates Kotlin’s ability to cleverly reify generic type parameters. So consider first a world…
Read More » -
Run code on startup with Play and Scala
Depending on various projects, sometimes there is the need to execute some actions on initialization just before our application starts…
Read More » -
Kotlin – Tuple type
It is very simple to write a Tuple type with the expressiveness of Kotlin. My objective expressed in tests is the following:…
Read More » -
Kotlin – Try type for functional exception handling
Scala has a Try type to functionally handle exceptions. I could get my head around using this type using the…
Read More »