👨‍💻 Jorge Castillo
  • Course 🎬
  • Book 📖 Jetpack Compose internals 🔥
  • About

Kotlin

All Kotlin posts in this blog.

Kotlin

Sealed interfaces in Kotlin

Short overview of the sealed interfaces coming up in Kotlin 1.5.

Jorge Castillo Jorge Castillo 7 min read
Kotlin Android

Tracking side effects at compile time with suspend

Thinking of suspend as a Kotlin stdlib mechanism for flagging and tracking effects at compile time.

Jorge Castillo Jorge Castillo 9 min read
Kotlin

Kotlin Continuations

Continuations represent the rest of a program. They are a form of control flow.

Jorge Castillo Jorge Castillo 12 min read
Kotlin

Support for Kotlin SAM in release 1.4

About Kotlin SAM support for Java interoperability and also for Kotlin interfaces starting on release 1.4.

Jorge Castillo Jorge Castillo 4 min read
Android Kotlin

Contrasting text and icons over background

Detecting whether background is dark or light to pick the right foreground color for better contrast.

Jorge Castillo Jorge Castillo 6 min read
Android Kotlin

Putting view theming into Context

Some words about how to theme views in code by the Context they’re inflated with.

Jorge Castillo Jorge Castillo 6 min read
Android Kotlin

Dependency Inversion on Android Theming

The concept of DI is something we don’t use to associate with XML files like the Android resources. Let’s learn how Android uses it for theming apps.

Jorge Castillo Jorge Castillo 5 min read
Kotlin Android Fp

When Android met FP

Learning new things is hard, and rejecting the unknown is part of human nature. There’s some reaction inside us that makes our minds reject anything new in some way.

Jorge Castillo Jorge Castillo 6 min read
Kotlin Fp

Kotlin Functional Programming, Does it make sense?

Functional programming can feel like a big wave of fresh air over a beautiful landscape at sunset. The flowers are literally us. 😍 🌼 (maybe?)

Jorge Castillo Jorge Castillo 9 min read
Kotlin Fp

Kotlin purity and function memoization

Let’s learn about the benefits of “purity” and “pure functions”, and how it affects caching.

Jorge Castillo Jorge Castillo 12 min read
Kotlin

Tail recursion and how to use it in Kotlin

Learn the concept of tail recursion and how to get the most out of it in the Kotlin language.

Jorge Castillo Jorge Castillo 8 min read
👨‍💻 Jorge Castillo © 2025
Mastodon
Latest Posts Twitter Ghost