|
|
|
|
|
by kwhitefoot
649 days ago
|
|
> writes comments that explain why the code isn't written in another way." Exactly! I have written code that required comments five times as long as the code itself to defend the code against well meaning refactoring by people who did not understand the code, the domain, or the care needed to handle large dynamic ranges. I have also written substantial functions with no comments at all because it was possible and practical to name the function and all the variables so that the meaning was clear. |
|