2 ms·
Hm, I would agree more with the overall headline and conclusion if it was about time spent reading code. The best code and code bases allow you to quickly unde
by tetha 2y ago
Hm, I would agree more with the overall headline and conclusion if it was about time spent reading code.
The best code and code bases allow you to quickly understand how they are structured and don't necessarily hold subtle, nasty surprises - or at least make it obvious if something is a nasty, subtle surprise. Those code bases tend to be a quick read.
The bad functions and code bases require you to carefully consider every little aspect of every single line in detail. And I don't just mean "read every line", I mean "Dissect lines based upon language specs, and also keep in mind this is interacting with 5 different other parts of the code base. Or not. Who knows?" In such code bases, just figuring out what something does tends to be a slog.