Agree on the later comment, though not with the former. Why would you use a setter (and increase mutability) and add a getter (and decrease encapsulation)? These are trade-offs one can make of course, though I do not see what the benefit is in this case.