|
|
|
|
|
by kbutler
4621 days ago
|
|
I've been maintaining some code written with this philosophy, and I find it lacking. Code is very good at answering "How" but often the reader needs to know "Why" or "Why not". In fact, the maintainer of your code will rarely be reading it to figure out how it is working - almost always the next person looking at your code will want to know why it is not working, or will be attempting to change the behavior. Comments can guide as to pitfalls that you've avoided in your implementation and can answer the all-too-frequent question, "What were they thinking?!" |
|