---
title: "Tag: kotlin-beginner | Shreyas Patil's Blog"
description: "Senior Android Engineer @ Deliveroo. Google Developer Expert for Android. Writing about Android, Kotlin, and AI."
image: "https://blog.shreyaspatil.dev/og.png"
---

# Tag:kotlin-beginner

All the articles with the tag "kotlin-beginner".

# Tag:kotlin-beginner

- [![](https://blog.shreyaspatil.dev/_astro/cover-understanding-dispatchers-main-and-mainimmediate.BDl5NICs_ZipbbY.webp)](https://blog.shreyaspatil.dev/understanding-dispatchers-main-and-mainimmediate)[## Understanding Dispatchers: Main and Main.immediate](https://blog.shreyaspatil.dev/understanding-dispatchers-main-and-mainimmediate)2 Apr, 2025A deep dive into Kotlin Coroutine Dispatchers. Understand the subtle but important difference between Dispatchers.Main and Dispatchers.Main.immediate in Android.
- [![](https://blog.shreyaspatil.dev/_astro/cover-kotlin-exception-handling-why-singleton-exceptions-are-a-bad-idea.97gvJmqw_Z21we6P.webp)](https://blog.shreyaspatil.dev/kotlin-exception-handling-why-singleton-exceptions-are-a-bad-idea)[## Kotlin Exception Handling: Why Singleton Exceptions are a bad idea](https://blog.shreyaspatil.dev/kotlin-exception-handling-why-singleton-exceptions-are-a-bad-idea)18 Sep, 2024Understand why using singleton exceptions in Kotlin can be a bad practice and how it affects stack traces and debugging in your applications.
- [![](https://blog.shreyaspatil.dev/_astro/cover-promise-compose-compiler-and-imply-when-youll-change.DaTz17b5_Z6UTXT.webp)](https://blog.shreyaspatil.dev/promise-compose-compiler-and-imply-when-youll-change)[## Promise compose compiler and imply when you'll change 🤞](https://blog.shreyaspatil.dev/promise-compose-compiler-and-imply-when-youll-change)10 Mar, 2022Understand the Compose compiler's stability promises. Learn how @Stable and @Immutable impact recomposition and how to help the compiler optimize your UI.
- [![](https://blog.shreyaspatil.dev/_astro/cover-dont-let-kotlins-single-expression-function-ruin-your-business.B3coERZJ_ZFJ4n7.webp)](https://blog.shreyaspatil.dev/dont-let-kotlins-single-expression-function-ruin-your-business)[## Don't let Kotlin's single-expression function ruin your business😲](https://blog.shreyaspatil.dev/dont-let-kotlins-single-expression-function-ruin-your-business)24 May, 2021Understand why relying on Kotlin's automatic type inference in single-expression functions can lead to subtle bugs and business logic failures.
- [![](https://blog.shreyaspatil.dev/_astro/cover-hide-internal-members-of-kotlin-module-from-jvm.DlxpwfRU_14QGnt.webp)](https://blog.shreyaspatil.dev/hide-internal-members-of-kotlin-module-from-jvm)[## Hide internal members of Kotlin Module from JVM 🔐](https://blog.shreyaspatil.dev/hide-internal-members-of-kotlin-module-from-jvm)17 May, 2021Learn how to properly hide internal Kotlin members from JVM to maintain a clean API for Java consumers when developing libraries.
- [![](https://blog.shreyaspatil.dev/_astro/cover-let-your-delegates-auto-nullify-references.DzBtReak_ZzcXXG.webp)](https://blog.shreyaspatil.dev/let-your-delegates-auto-nullify-references)[## Let your delegates auto-nullify references☠️](https://blog.shreyaspatil.dev/let-your-delegates-auto-nullify-references)12 Mar, 2021Learn how to use Kotlin property delegates to automatically nullify references in Android, preventing memory leaks in Fragments and Activities.
- [![](https://blog.shreyaspatil.dev/_astro/cover-cooking-tasty-code-in-kotlin-part-2.D3BUqTXT_1oL1gm.webp)](https://blog.shreyaspatil.dev/cooking-tasty-code-in-kotlin-part-2)[## 👨‍🍳 Cooking Tasty code in Kotlin 🍴 — Part 2](https://blog.shreyaspatil.dev/cooking-tasty-code-in-kotlin-part-2)1 Jan, 2021Part 2 of 'Cooking Tasty Code'. Dive deeper into Kotlin features like delegation, operator overloading, and more to enhance your coding style.
- [![](https://blog.shreyaspatil.dev/_astro/cover-cooking-tasty-code-in-kotlin-part-1.CxGbDmW3_1yxb10.webp)](https://blog.shreyaspatil.dev/cooking-tasty-code-in-kotlin-part-1)[## 👨‍🍳 Cooking Tasty code in Kotlin 🍴 — Part 1](https://blog.shreyaspatil.dev/cooking-tasty-code-in-kotlin-part-1)24 Dec, 2020Part 1 of the 'Cooking Tasty Code' series. Explore Kotlin's syntactic sugar and features that help write cleaner, more readable, and idiomatic code.

```json
{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "name": "Shreyas Patil's Blog",
  "url": "https://blog.shreyaspatil.dev/",
  "description": "Senior Android Engineer @ Deliveroo. Google Developer Expert for Android. Writing about Android, Kotlin, and AI.",
  "author": {
    "@type": "Person",
    "name": "Shreyas Patil",
    "url": "https://shreyaspatil.dev/"
  }
}
```
