2 ms·
Once I thought a function should fit on a screen. I did small functions and tried to use the function names as comment replacement. But after coming back to ol
by k__ 10y ago
Once I thought a function should fit on a screen. I did small functions and tried to use the function names as comment replacement.
But after coming back to old code for years now, I think one big function that can simply read from top to bottom without any jumps is the way to go.
- spronkey 10y agoHmm. When API naming is good, you shouldn't need to be reading at the low level much, so IMO whatever makes it easy to skim for maintenance is the way to go.