Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
alenmilk
· 5y ago · 0 comments
To be more specific, get rid of setters unless it is a data object. Have all fields be final and set them in one constructor. This makes the code more readable since you know no method will change the internal state.
Comments
No comments yet.
Better HN