Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
1
Newest
 Editor
Impact
0 people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Dec
27
comment If immutable objects are good, why do people keep creating mutable objects?
OK, the original question was about why programmers use mutable objects despite their concurrency problems. I did not want to repeat everything that has been said above, only point out that in scenarios where a constant/final or whatever is required (like in java runnables) and we need to return a result from those runnables, we have to use a final reference to a mutable object. Not because we just don't get the idea how great immutability is.
Dec
27
awarded  Editor
Dec
23
comment If immutable objects are good, why do people keep creating mutable objects?
did you actually read my post?
Jun
6
answered If immutable objects are good, why do people keep creating mutable objects?