2 ms·
Sometimes, (maybe the majority of times) a five liner is clearer than a one liner. I think line count is a terrible metric to use. Agree about indentation. Gr
by christophilus 5y ago
Sometimes, (maybe the majority of times) a five liner is clearer than a one liner. I think line count is a terrible metric to use.
Agree about indentation.
Grokking time, and time to make a correct, meaningful change are good metrics.
It’d be interesting to take some of the examples from Clean Code, and rewrite them procedurally, then functionally, etc, and then test which takes the least amount of time for an average developer to understand and modify.