3 ms·
Agreed. Elegant code is thin, tall and streamlined. Half as many lines as a quick-and-dirty wad. If you have half as many lines of code, -- it takes half as
by JoeAltmaier 15y ago
Agreed. Elegant code is thin, tall and streamlined. Half as many lines as a quick-and-dirty wad.
If you have half as many lines of code,
-- it takes half as long to read it
-- it may be twice as easy to explain
-- you may be able to fit it all into your brain at once
-- it compiles faster
-- it may run faster
Remember the slowest processor on the planet is your wetware. That's the place where space and speed are critical factors.