---
title: "Discussion on \"What Is the Difference Between a Backing Field and a Backing Property in Kotlin?\" | Hashnode"
description: "Discussion on \"What Is the Difference Between a Backing Field and a Backing Property in Kotlin?\". Backing field vs backing property in Kotlin: what field is, why a setter can crash with StackOverflowError, the _uiState pattern, and Kotlin 2.4 explicit backing fields."
url: "https://hashnode.com/posts/kotlin-backing-field-vs-backing-property/6b0bc9a897f60c26bf0849e6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [What Is the Difference Between a Backing Field and a Backing Property in Kotlin?](https://imayankkumar.hashnode.dev/kotlin-backing-field-vs-backing-property?utm_source=hashnode&utm_medium=feed)

Backing field vs backing property in Kotlin: what field is, why a setter can crash with StackOverflowError, the \_uiState pattern, and Kotlin 2.4 explicit backing fields.

6d ago · 7 min read · imayankkumar.hashnode.dev  
Read the article

-   [#kotlin](https://hashnode.com/tag/kotlin)
-   [#android](https://hashnode.com/tag/android)
-   [#androiddev](https://hashnode.com/tag/androiddev)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)

## Written by

[Mayank Kumar](https://hashnode.com/@imayankkumar)

@imayankkumar · Bengaluru, India

  
[View profile](https://hashnode.com/@imayankkumar)

Senior Android Engineer | Kotlin, Android Internals, Performance Engineering & AI

I'm Mayank, an Android engineer focused on Kotlin, software architecture, performance engineering, and AI-assisted development. I write about building Android apps with AI, including the experiments that don't work.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
