News for hackers. Stuff that matters.
Re:Data Classes for Java by qw on Thursday November 02, 2017 @02:21AM (#15608243)
What use did you have from the getter? That seems like a situation where you would only change the setter (or a builder if you use that pattern).
Re:Data Classes for Java by FollowSteph3 on Thursday November 02, 2017 @08:51AM (#15609904)
In fact you may want to edit the getter because who says you’re the one who controls the setter. As in there may be more than one way to set the value ;)
Re:Data Classes for Java by merb on Thursday November 02, 2017 @06:50AM (#15609237)
or the constructor..