4 ms·
When I write code, I'm concerned about two things: - it does what I want - it's easy for others to understand it If I'm doing red green refactor, the red and g
by pnt12 2y ago
When I write code, I'm concerned about two things:
- it does what I want
- it's easy for others to understand it
If I'm doing red green refactor, the red and green phases are all about logic and constraints, but the refactor step is all about communication - I focus on making the code easy to read for others.
But if I'm reading code, I just want to know what it does.
Só, I didn't make a study, but I'd argue that writing code is more similar to writing natural language than reading code is to reading natural language.