2 ms·
Top reason is documentation. So future readers can read about your intent and understand how the code functions. "Knowing your code works" is just validation th
by randomdata 14y ago
Top reason is documentation. So future readers can read about your intent and understand how the code functions. "Knowing your code works" is just validation that your documentation is true to what the code says, which is one reason why we prefer testing to comments.