3 ms·
It's not line count, it's the dot product of line count and conceptual clarity. There's a sweet spot where code is as terse as it can be while still being easy
by TheOtherHobbes 6y ago
It's not line count, it's the dot product of line count and conceptual clarity.
There's a sweet spot where code is as terse as it can be while still being easy to read. The abstractions are clear and fit the domain, they're not decorated with poorly configured edge cases, and they're no more nested than they need to be.
It's debatable if this ideal has ever existed, but it's nice to believe it might be possible.
- dragonwriter 6y ago> It's not line count, it's the dot product of line count and conceptual clarity. In my experience, in practice, beyond a very small multiple of the minimum required line count, line count and conceptual clarity for perfoming any given task are inversely related. Also, neither of those are vector quantities, so I'm not sure what you are trying to get at with “dot product”.