Remove kotlin-type-classes
article thumbnail

Kotlin Context Receivers: A Comprehensive Guide

Rock the JVM

By Riccardo Cardin This article will explore a powerful feature of the Kotlin programming language called context receivers. If you’re a Kotlin developer looking to write cleaner and more expressive code, context receivers are a tool you’ll want in your toolbox. Make sure you have Kotlin version 1.8.22

Scala 52
article thumbnail

The Ultimate Guide to Java Virtual Threads

Rock the JVM

Riccardo is a proud alumnus of Rock the JVM, now a senior engineer working on critical systems written in Java, Scala and Kotlin. class ); However, we won’t use the logger object directly in our example but the following custom function log : static void log ( String message ) { logger. Another tour de force by Riccardo Cardin.

Java 145
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

Type Classes in Kotlin: A Practical Guide

Rock the JVM

By Riccardo Cardin In this article, we delve into the concept of type classes in Kotlin, a powerful tool that allows developers to abstract logic for different data types. We’ll take data validation as an example to show how type classes can be used to write generic and reusable code. of the Arrow library.

article thumbnail

Object equality in Java and Kotlin

Booking.com Engineering

An example of how we can end up with this issue is if we try to apply the notion of equality between implementation classes that don’t strictly know each other. The following Pin class will serve as a base class for the examples that follow. requireNonNull (name, type); this. name = name; this.

Java 52
article thumbnail

Why Picnic picked Java

Picnic Engineering

NodeJS was on the rise, and Kotlin was just a pre-release blip on the radar. Currently a similar surge of alternative JVM language adoption is underway, this time with Kotlin leading the pack. Enter Kotlin You now understand why we picked Java when starting out. So should we switch to Kotlin?

Java 59
article thumbnail

Open Sourcing the Netflix Domain Graph Service Framework: GraphQL for Spring Boot

Netflix Tech

A GraphQL schema describes the API in terms of Query and Mutation operations along with their related types and fields. link] The Show type is a simple POJO that we would typically generate using the DGS Code Generation plugin for Gradle. A popular code-first library is graphql-kotlin for Kotlin.

Java 98
article thumbnail

How we use Kotlin for backend services at Zalando

Zalando Engineering

The adoption of Kotlin at Zalando As outlined in prior posts , Zalando uses a Tech Radar to provide guidance on technology selection. Recently , we moved Kotlin from TRIAL to ADOPT. With this change we are doubling down on the support of Kotlin as the 3rd JVM language next to Java and Scala.

Scala 40