Via Artima.com, IBM developerWorks: Java theory and practice: To mutate or not to mutate?
Immutable objects have a number of properties that make working with them easier, including relaxed synchronization requirements and the freedom to share and cache object references without concern for data corruption. While immutability may not necessarily make sense for all classes, most programs have at least a few classes that would benefit from being immutable. In this month's Java theory and practice, Brian Goetz explains some of the benefits of immutability and some guidelines for constructing immutable classes.
Feel free to post a comment below. Please see my comment policy.
Formatting Rules (No HTML):