Tag

kotlin

What is Functional Programming?

From Functional Programming in Kotlin by Marco Vermeulen

This article discusses what functional programming is (and is not), using Kotlin for examples.

Writing Loops Functionally in Kotlin

From Functional Programming in Kotlin by Marco Vermeulen

This article explores how to write loops functionally in Kotlin.

Learn to Write Better Kotlin Code

From Functional Programming in Kotlin by Marco Vermeulen, Rúnar Bjarnason, and Paul Chiusano

Free eBook: Safe Programming with Kotlin

Free_eBook_Saumont_Kotlin

Chapters selected by Pierre-Yves Saumont

Free eBook: Exploring Kotlin Functional Programming

Free_eBook_Guthrie

Chapters selected by John Guthrie

Build Reactive JVM Apps

From Vert.x in Action by Julien Ponge


slideshare-build-reactive-jvm-apps

Retrying a Function or an Effect

From The Joy of Kotlin by Pierre-Yves Saumont

This article discusses retying functions in Kotlin.

Declaring Higher-Order Functions

From Kotlin in Action by Dmitry Jemerov and Svetlana Isakova

The key idea of this article is the concept of higher-order functions. A higher-order function is a function that takes another function as an argument or returns one.

Functional APIs for Collections

From Kotlin in Action by Dmitry Jemerov and Svetlana Isakova

The functional style provides many benefits when it comes to manipulating collections. You can use library functions for most tasks and simplify your code. In this article, we’ll discuss some of the functions in the Kotlin standard library for working with collections.

Compiler-Generated Methods: data classes and class delegation

From Kotlin in Action by Dmitry Jemerov and Svetlana Isakova

The Java platform defines several methods that need to be present in many classes and are usually implemented in a mechanical way, such as equalshashCode, and toString. Fortunately, Java IDEs can automate the generation of these methods, and you usually don’t need to write them by hand. In this case, your codebase contains the boilerplate code. The Kotlin compiler takes a further step: it can perform the mechanical code generation, behind the scenes, without cluttering your source code files with the results.

© 2020 Manning — Design Credits