3 ms·
More about the philosophy of quality code. I can offer the following vague advice: - When writing new code, do the best you can with the information you have.
by alex_c 18y ago
More about the philosophy of quality code.
I can offer the following vague advice:
- When writing new code, do the best you can with the information you have. Resist taking shortcuts (copy & paste instead of a minor refactoring, etc.)
- Refactor old code as you go along, but do it cautiously, and only when it's worth it (very clear performance or maintainability advantages, for example).