---
title: "Discussion on \"Records in java :  the illusion of immutability\" | Hashnode"
description: "Discussion on \"Records in java :  the illusion of immutability\". Java records, as I mentioned in my last article, offer a new way to define classes that hold immutable data. Records make it easier to create data carriers with fixed states at creation. However, this immutability can be misleading when records have ..."
url: "https://hashnode.com/posts/records-in-java-the-illusion-of-immutability/66e2d43fa3502f763d543a1d"
---

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

Discussion

# [Records in java : the illusion of immutability](https://loukmanemaada.dev/records-in-java-the-illusion-of-immutability?utm_source=hashnode&utm_medium=feed)

Java records, as I mentioned in my last article, offer a new way to define classes that hold immutable data. Records make it easier to create data carriers with fixed states at creation. However, this immutability can be misleading when records have ...

Sep 12, 2024 · 5 min read · loukmanemaada.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#java-programming](https://hashnode.com/tag/java-programming)

## Written by

[MAADA Loukmane](https://hashnode.com/@Loukmane)

@Loukmane

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

Moroccan software developer

Moroccan software developer, Java/Spring. Love to learn, eager to write.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
