Saturday, December 22, 2007

Immutable objects

Immutables are very interesting. The problems that immutables address is often neglected. These problems tend to surface later in the development process, when the project is becoming more complex.

Eric Lippert shed some light on this complex subject in a very interesting blog series. Immutability in C# Part One: Kinds of Immutability

1 comment:

Nick said...

Compiler support for immutability would be nice, wouldn't it... All we need is that plus non-nullable reference types a-la Spec# and I'll stop fantasising about defecting to Haskell ;)