---
title: "#value-classes articles | Hashnode"
description: "Explore 1 articles tagged #value-classes on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/value-classes"
---

Tag

# #value-classes

1 posts · 0 followers

[Android Expert](https://hashnode.com/@android-expert) · [7h ago](https://hashnode.com/posts/zero-cost-types-the-fine-print-on-kotlin-value-classes/6af4a07c1efa3ee1bac4e75f)

### [Zero-Cost Types? The Fine Print on Kotlin Value Classes](https://android-expert.hashnode.dev/zero-cost-types-the-fine-print-on-kotlin-value-classes?utm_source=hashnode&utm_medium=feed)

Learn when Kotlin value classes avoid heap allocation, when boxing returns, and how name mangling affects Room, Retrofit, serialization and Java.

12 min read · [android-expert.hashnode.dev](https://android-expert.hashnode.dev/zero-cost-types-the-fine-print-on-kotlin-value-classes?utm_source=hashnode&utm_medium=feed)
