News for hackers. Stuff that matters.
Re:Avoid Else, Return Early (2013) by dhimes on Monday March 26, 2018 @10:06AM (#16678964)
It's also only possible if the code is thought of as a text and is proofread/edited rigorously for reading. My process is 1) write the code quickly- add comments 2) revise for clarity and efficiency (usually modularity), remove comments as confidence allows. This is where I might get the variable and method names correct for self-documenting code. Usually it takes several passes. But most often, "good enough is good enough" and I leave comments in. Just in case.

There are no comments on this comment yet.