4 ms·
I'm thinking the same. I'm going so far and in most cases say "No comments in method bodies" in Merge Reviews. Why? Typically, you are explaining statements wi
by DarkNova6 3y ago
I'm thinking the same. I'm going so far and in most cases say "No comments in method bodies" in Merge Reviews. Why?
Typically, you are explaining statements with a comment. This is code which becomes self-documenting once you turn it into a method with a good name. Every tricky bit can now be documented via JavaDocs as well (and other language equivalents).
This also tends to avoid having 200+ line methods as well :D