Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
cunac
· 14y ago · 0 comments
one good reason would be because setters and getters are way easier to mock out than direct access to member variable And we all want to have code tested , don't we ? :-)
Comments
[–]
dextorious
14y ago
No, I most certainly don't.