Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
qw
· 9y ago · 0 comments
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).
Comments
[–]
FollowSteph3
9y ago
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 ;)
[–]
merb
9y ago
or the constructor..