What is immutability and why should I worry about it?
问题 I've read a couple of articles on immutability but still don't follow the concept very well. I made a thread on here recently which mentioned immutability, but as this is a topic in itself, I am making a dedicated thread now. I mentioned in the past thread that I thought immutability is the process of making an object read only and giving it low visibility. Another member said it didn't really have anything to do with that. This page (part of a series) uses an example of an immutable class