What does "immutable" mean in programming?
immutable is one of the most common terms in software development. This guide explains what it means, how it is used in practice, and why it matters, with real examples from the developer world.
Definition
Describes a value or object that cannot be changed after it is created. In JavaScript, strings and numbers are immutable primitives. Using immutable data structures makes code easier to reason about and avoids accidental side effects.
Example
"const point = Object.freeze({ x: 1, y: 2 }); // immutable object"
Related terms
Ready to practice your English at work?
Lingua-e has interactive exercises built around real developer conversations: standups, code reviews, retrospectives, and more. Practice until it comes naturally.
Try Lingua-e for free