Tag: kotlin-beginner
All the articles with the tag "kotlin-beginner".
Tag:kotlin-beginner
-
Understanding Dispatchers: Main and Main.immediate
A deep dive into Kotlin Coroutine Dispatchers. Understand the subtle but important difference between Dispatchers.Main and Dispatchers.Main.immediate in Android.
-
Kotlin Exception Handling: Why Singleton Exceptions are a bad idea
Understand why using singleton exceptions in Kotlin can be a bad practice and how it affects stack traces and debugging in your applications.
-
Promise compose compiler and imply when you'll change 🤞
Understand the Compose compiler's stability promises. Learn how @Stable and @Immutable impact recomposition and how to help the compiler optimize your UI.
-
Don't let Kotlin's single-expression function ruin your business😲
Understand why relying on Kotlin's automatic type inference in single-expression functions can lead to subtle bugs and business logic failures.
-
Hide internal members of Kotlin Module from JVM 🔐
Learn how to properly hide internal Kotlin members from JVM to maintain a clean API for Java consumers when developing libraries.
-
Let your delegates auto-nullify references☠️
Learn how to use Kotlin property delegates to automatically nullify references in Android, preventing memory leaks in Fragments and Activities.
-
👨🍳 Cooking Tasty code in Kotlin 🍴 — Part 2
Part 2 of 'Cooking Tasty Code'. Dive deeper into Kotlin features like delegation, operator overloading, and more to enhance your coding style.
-
👨🍳 Cooking Tasty code in Kotlin 🍴 — Part 1
Part 1 of the 'Cooking Tasty Code' series. Explore Kotlin's syntactic sugar and features that help write cleaner, more readable, and idiomatic code.