SupportWriter space ↗
REFERENCE LIBRARY

References from other publishers

Republished articles with source attribution. This collection is separate from Diary Coding’s original guides and does not display ads.

Read original guides → · Editorial policy

FOR YOUR CURIOSITY

Latest notes.

KOTLIN / NOTES</>↗
Kotlin05 Jun 2025

How do I design function types and pass them as parameters in Kotlin?

In Kotlin, functions are treated as first-class citizens, which means you can declare function types, create lambda expressions, and pass functions as parameters to other functions. Here’s a guide on how to design function types and pass them as parameters: 1. Function Types A function type in Kotlin is defined by the types of its […]

Wayan · 3 min read
KOTLIN / NOTES</>↗
Kotlin05 Jun 2025

How do I combine multiple scope functions for concise Kotlin code?

In Kotlin, scope functions (like let, apply, also, run, and with) provide a way to execute a block of code within the context of an object. Combining them allows writing concise and readable code. Here’s how you can effectively use and combine them: Example: Combining let and apply Suppose you have an object that you […]

Wayan · 3 min read
KOTLIN / NOTES</>↗
Kotlin04 Jun 2025

How do I chain Kotlin lambdas with higher-order functions like map, filter, and reduce?

In Kotlin, you can chain lambdas while using higher-order functions like map, filter, and reduce to process collections in a fluent and functional programming style. Here’s a guide on how to use these functions together to chain operations: Key Functions Used in Chaining map: Transforms each element of a collection. filter: Filters elements based on […]

Wayan · 3 min read
KOTLIN / NOTES</>↗
Kotlin04 Jun 2025

How do I create extension functions for cleaner Kotlin code?

In Kotlin, extension functions are a powerful feature that allows you to add new functions to existing classes without modifying their source code. This makes your code cleaner, more readable, and easier to maintain. Here’s a guide on how to create extension functions for cleaner Kotlin code: 1. What is an Extension Function? An extension […]

Wayan · 4 min read
KOTLIN / NOTES</>↗
Kotlin03 Jun 2025

How do I use ranges and step values in Kotlin for loops?

In Kotlin, you can use ranges and step values in for loops to iterate over a sequence of numbers or characters. Here’s a detailed guide: 1. Ranges in Kotlin A range is defined using the .. operator. For example: for (i in 1..5) { println(i) } Output: 1 2 3 4 5 The loop iterates […]

Wayan · 2 min read
✳

Knowledge grows when shared.

Stay curious. There is always something new to learn.

Explore notes ↗
Putu Adi Guna Permana
ABOUT THE AUTHOR

Dr (C). Ir. Putu Adi Guna Permana, S.Kom., M.Kom., IPM., ASEAN Eng.

Writer and founder of Diary Coding — sharing notes, tutorials, and experiences about programming for anyone who wants to keep learning.