3 ms·
Naming is a constantly changing optimization problem. Fighting the mostly opposing forces in programming: - Productivity (how quickly you can write out functio
by gitgud 7y ago
Naming is a constantly changing optimization problem. Fighting the mostly opposing forces in programming:
- Productivity (how quickly you can write out functions, variables etc..)
- Readability (how quickly can a human interpret the meaning of the code)
Both of these dimensions of the "naming problem" refer to the human side of coding.
If you have an empathetic perspective for future humans who read your code, you will tend to name things better... which makes the code easier to read, maintain... which makes the code better.