4 ms·
Ultimately the code is the documentation.
by jurgenburgen 7mo ago
Ultimately the code is the documentation.
- benswerd 7mo agoThis is correct. Comments serve a purpose too, but they should only be used when code fails to self document which should be the exception.
- array_key_first 7mo agoCode can only ever document "what" by definition, never "why". If it could document "why", then no computer programmers would exist. So, we have to supplement the "why" using natural language. There's a 100% loss conversion there when we convert it to code.