This commit is contained in:
Brent Guffens 2018-01-19 14:19:19 +01:00 committed by GitHub
parent 6109448768
commit a3472d3944
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@ complex;
code; code;
``` ```
But in a good code the amount of such "explanatory" comments should be minimal. Seriously, a code should be easy to understand without them. But in good code the amount of such "explanatory" comments should be minimal. Seriously, code should be easy to understand without them.
There's a great rule about that: "if the code is so unclear that it requires a comment, then maybe it should be rewritten instead". There's a great rule about that: "if the code is so unclear that it requires a comment, then maybe it should be rewritten instead".