r/java • u/[deleted] • Aug 26 '22
I declare as "final" every single variable whose value doesn't change. I also use "this" every time that I'm referring to an attribute, even when there's no ambiguity in not using it
I think that those things make the code easier to read. Am I crazy for thinking like that?
198
Upvotes
-4
u/[deleted] Aug 26 '22 edited Aug 26 '22
All my fields have _ as a prefix for this reason.