# The principle of immutability

DevFeed: [The principle of immutability](<https://devfeed.tech/articles/the-principle-of-immutability-13266.md>)

Original publisher: [Read original article](<https://www.chainguard.dev/unchained/the-principle-of-immutability>)

Published: 2024-08-20T00:00:00Z

Content type: opinion

Language: en

Sources: [Chainguard: Unchained](<https://devfeed.tech/sources/chainguard-unchained.md>)

Topics: [Programming](<https://devfeed.tech/topics/programming.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [Functional programming](<https://devfeed.tech/topics/functional-programming.md>), [C++](<https://devfeed.tech/topics/c-plus-plus.md>), [Programming language](<https://devfeed.tech/topics/programming-language.md>)

Tags: [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [functional-programming](<https://devfeed.tech/tags/functional-programming.md>), [immutability](<https://devfeed.tech/tags/immutability.md>), [rust](<https://devfeed.tech/tags/rust.md>), [secure-by-default](<https://devfeed.tech/tags/secure-by-default.md>), [secure-by-design](<https://devfeed.tech/tags/secure-by-design.md>)

## AI overview

The article argues that immutability is about intentionally controlling change rather than preventing change. It presents immutability by default as part of secure-by-design software and compares approaches in functional programming, C++, and Rust.

## Source excerpt

Secure by default starts with immutability. Discover how to control change and minimize risks.