I absolutely agree that automatically adding getters/setters for all fields is just a bad thing. That being said, it seems to me that it'd be going too far toward the other extreme by automatically forbidding all the setters. If we all agree that some, if not most, objects in any domain model by their nature can never be immutable, why do we insist on making them so?


Reply With Quote
