The forEach API

After one time too many stumbling over a forgotten/unknown function in Kotlin’s “collection” API, I decided to take stock of what’s available.

TLDR - That API is pretty large.

[Read More]

Kotlin Result

Some languages provide a facility to return an error from a call to method/function, along with the actual result value. This allows (or forces) the programmer to take into account potential runtime errors.

Something similar can be done in Kotlin.

[Read More]