Remove kotlin
article thumbnail

The “suspend + receivers” style in Kotlin

Xebia

version, promotes a specific style of Kotlin to achieve composability of effects. This post aims to clarify how this style works in Kotlin, compare it to other sibling languages, and discuss the main limitations. In Kotlin, we can easily sneak in other types of behaviors, which we often call side effects.

article thumbnail

Functional Domain Modeling in Kotlin

Xebia

Kotlin is a good fit for functional domain modeling. Let’s use a still experimental, but very exciting, upcoming feature of Kotlin: inline class. A rule of thumb in Kotlin is to use an enum class when the cases don’t contain any data or, in other words, if all cases can be modeled as object.

Insiders

Sign Up for our Newsletter

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

Trending Sources

article thumbnail

Kotlin Tutorial | Kotlin Programming Language for beginners

Perficient

The tutorial provides basic concepts of Kotlin. Our Kotlin tutorial includes. What is Kotlin? Pre-Requisites Features of Kotlin Kotlin Architecture What is Kotlin? Kotlin is a programming language introduced by JetBrains in 2011. Kotlin is free, has been free and will remain free.

article thumbnail

Arrow for Kotlin releases stable 1.2.0 version

Xebia

Additionally, the non-empty collections now overload more methods and provide non-null return types, in contrast to the nullable return types provided by regular Kotlin collections. This library exports the serializers required for using Arrow Core types with kotlinx.serialization , one of the most used libraries in the Kotlin ecosystem.

article thumbnail

7 common mistakes in Kotlin

Xebia

7 Common Mistakes in Kotlin Have you ever felt like this kid when programming? When I got into Kotlin development I felt like this kid many many times. In this post I’ll show you 7 code snippets containing common mistakes (I made) when programming in Kotlin. I sure did! Hello World! Consider the code below. 4) Why is that?

article thumbnail

Ktor and SQLDelight for Kotlin Back-End Development

Xebia

Backend development is one of the hottest topics in the Kotlin community. As the last developer survey shows, almost half of Kotliners are working on web applications. Although Kotlin has excellent interoperability with libraries in the JVM platform, new libraries have been developed with a more Kotlin-idiomatic approach.

article thumbnail

xef.ai: Modern AI for Scala and Kotlin

Xebia

Our initial release targets Kotlin and Scala, with more languages to come in the future. The post xef.ai: Modern AI for Scala and Kotlin appeared first on Xebia. This is where xef.ai primer To give a more concrete example, this is all the code required to query OpenAI’s ChatGPT. Happy hacking with modern AI!