Reply To: [Discussion] Mutability is not a problem

#2735
systematical
Guest

This a request for clarification. If a class is immutable, doesn’t that prevent you from using method chaining? For that reason, I typically avoid building immutable objects. I prefer method chaining and simply know to clone the object in the rare instance where mutability gives me problems or as one poster put it “spooky action at a distance.”