Adding Context to Extension Functions
Extension functions are great! But if you define them all over the place, it can get confusing pretty quickly. So here’s a cool idiom to limit extension function usage to a specific context.
Read on →
Extension functions are great! But if you define them all over the place, it can get confusing pretty quickly. So here’s a cool idiom to limit extension function usage to a specific context.
Read on →
Over the last few years Mockk has been gaining ground as the go-to mocking library in KotlinWorld ™. Just recently, it was listed as “adopt” in the [ThoughtWorks technology Radar][1]. Want to know what all the fuss is about?
Read on →
Overview of the different kinds of Kotlin channels and their behaviors.
Read on →
Today we’ll see how to write a SQS consumer that processes messages in a parallel, non-blocking way, using Kotlin coroutines.
Read on →
In this article I’ll explore how to model a [JPA Entity][1] using an [UUID][2] as Primary Key working with [Spring Data JPA.][3]
Read on →
In this post I’ll be exploring how to implement [GraphQL subscriptions][1] reactively on a Spring Boot application using [Kafka][2].
Read on →
Since Gradle 3.0 you can [write your build scripts using Kotlin instead of Groovy][1]. I was curious, so I decided to give it a try. Here are my thoughts on the process.
Read on →
JaCoCo works flawlessly with Kotlin. Except when it reports lines not covered on generated code 😡. Fortunately there’s a fix already in place.
Read on →
Hello! In this post I’ll explore the different alternatives for querying hierarchical data stored on a RDBMS using [JPA][1].
Read on →
You’re already using Kotlin on your codebase. Maybe, you’ve even migrated to the new [Kotlin DSL for Gradle][1]. Wouldn’t it be nice if you could use Kotlin for your [git hooks][2] too?
Read on →
This is the story of how Oracle DB was messing up Kotlin’s type system, and what I did to fix it.
Read on →
Implementing takeWhileInclusive
extension function in Kotlin.
This post is about the clever tricks you can pull with Spring new functional routing and it’s Kotlin DSL.
Read on →
Following up of my [previous post][1], I was curious how a parallel map operation would look like using Java’s [parallelStream
][2]. Here’s what I find out.
Ever wonder how to run [map
][1] in parallel using coroutines? This is how you do it.
This is the story of a real use case that was solved by using [Go style channels in Kotlin][1].
Read on →