On 7/11/12 1:40 PM, Jakob Ovrum wrote:
Some classes don't lend themselves to immutability. Let's take something obvious like a class object representing a dataset in a database. How is an immutable instance of such a class useful?
This is a good point. It seems we're subjecting all classes to certain limitations for the benefit of a subset of those classes.
Andrei