4 ms·
The lines of code story is a timeless classic.
by LorenDB 1y ago
The lines of code story is a timeless classic.
- 90s_dev 1y ago> He thought and wrote "-2000 lines". Management stopped asking Bill to fill out the form. This lesson stuck with me for years. Final results alone are measurable, not productivity.
- worik 1y agoImagine being the manager that had to assess Bill Atkinson's productivity! > Final results alone are measurable Not even those, for individuals Mostly we work in teams. I myself like to work in "plumbing" that is arbitrarily far from "final results"
- garciasn 1y agoScore code on line count and runtime golf. Shorter, faster, and fastest time to completion is best. Code that’s 4K and took slightly less time to write but runs slightly faster than code that’s 400 bytes that took another 30m to write still doesn’t get the best score.
- dan-robertson 1y agoI kind think metrics are not the answer and instead one needs taste. Obviously performance is multidimensional both in what one measures (latency vs throughput) and as a function of the input. The solution you imagine that is slightly faster in the test could avoid (or introduce) different worst-case or asymptotic behaviour, for example.
- garciasn 1y agoI argue we shouldn’t be doing this at all; but, if we have to do to whatever insanely arbitrary metric a project/product/eng leader wants, this is probably a better metric than code length.
- pmoriarty 1y ago> Shorter, faster, and fastest time to completion is best. What about correctness, robustness, readability, clarity, maintainability?