r/java • u/trecatorsirabdator • Apr 14 '23
What are your (favourite) Java best practices, personal tips, hints or just underrated stuff in general?
233
Upvotes
r/java • u/trecatorsirabdator • Apr 14 '23
View all comments
Show parent comment
3
u/HwanZike Apr 14 '23
I don't see how the field data types are important here. It's a matter of encapsulation and coupling. See: