|
|
|
|
|
by tomx
5023 days ago
|
|
I always feel articles such of these should be prefixed with "within my humble experience and within my application area". "Comments are generally only needed when you failed to be clear enough in naming. Treat them as a code smell."
...but only in simpler applications, such as self-describing CRUD type web applications? I think I agree with the quote within some web apps, however remember some code may take weeks/months to appreciate the complexities of. For example, a TCP stack is a complicated thing, born and refined through much research for several decades. Notes of various design choices and optimisations need to be documented, and long comments are sometimes the most convenient way to do so. |
|