StackOverflow Questions for Tag: immutability

Bless
Bless

Reputation: 5370

Replace element at specific position in an array without mutating it

Score: 63

Views: 67615

Answers: 9

Read More
Fellow Stranger
Fellow Stranger

Reputation: 34093

Update one of the objects in array, in an immutable way

Score: 43

Views: 49726

Answers: 5

Read More
Adamski
Adamski

Reputation: 54715

Java Immutable List

Score: 8

Views: 9218

Answers: 7

Read More
kloudkid
kloudkid

Reputation: 53

Scraping audit logs from storage accounts

Score: 0

Views: 84

Answers: 1

Read More
Leo qiao
Leo qiao

Reputation: 23

It is impossible to implement an immutable struct type

Score: -3

Views: 137

Answers: 2

Read More
alx9r
alx9r

Reputation: 4263

Is there a way to create an immutable record type that supports @{} object initialization?

Score: 1

Views: 88

Answers: 1

Read More
Mayeul sgc
Mayeul sgc

Reputation: 2089

TypeError: 'Series' objects are mutable, thus they cannot be hashed

Score: 1

Views: 8800

Answers: 2

Read More
Chris Arnold
Chris Arnold

Reputation: 5753

Compiler-Implemented Immutability in .Net

Score: 2

Views: 103

Answers: 2

Read More
Sean Pianka
Sean Pianka

Reputation: 2325

Why are instances of the `object` class immutable in Python?

Score: 10

Views: 344

Answers: 2

Read More
Mister Smith
Mister Smith

Reputation: 28188

How to avoid prop drilling in Jetpack Compose

Score: 17

Views: 1193

Answers: 2

Read More
Thomas Sebastian
Thomas Sebastian

Reputation: 1612

JS spread operator workflow on React

Score: 2

Views: 150

Answers: 1

Read More
Eric
Eric

Reputation: 213

Ruby: Differences in object identity of Integers

Score: 2

Views: 198

Answers: 4

Read More
Cincinnatus
Cincinnatus

Reputation: 220

Set.Has() does not work with arrays because they are mutable. What's the alternative?

Score: 3

Views: 79

Answers: 3

Read More
max
max

Reputation: 52323

Difference between MappingProxyType and PEP 416 frozendict

Score: 47

Views: 19885

Answers: 4

Read More
Exevan
Exevan

Reputation: 345

How can I force Mapstruct to assign the result of a nested mapper to the destination when providing a mapping target

Score: 0

Views: 35

Answers: 0

Read More
Jason Coon
Jason Coon

Reputation: 18441

In Python, how can I make unassignable attributes (like ones marked with `final` in Java)?

Score: 97

Views: 114335

Answers: 13

Read More
d8aninja
d8aninja

Reputation: 3653

In Rust, what's the difference between "shadowing" and "mutability"?

Score: 44

Views: 6679

Answers: 2

Read More
Ben Usman
Ben Usman

Reputation: 8387

optional list argument "list = list or []" in python

Score: 5

Views: 12531

Answers: 3

Read More
yurich
yurich

Reputation: 175

How to make immutability a default behaviour with C preprocessor

Score: 1

Views: 121

Answers: 0

Read More
Miguel
Miguel

Reputation: 231

Persistent data structures in c++

Score: 23

Views: 5931

Answers: 3

Read More
PreviousPage 2Next