3 ms·
> I think the best compromise is small summary comments at various points of functions that "hold the entire thought". I think this is the best, honestly, it r
by ratww 5y ago
> I think the best compromise is small summary comments at various points of functions that "hold the entire thought".
I think this is the best, honestly, it reaps most benefits of small single-use functions, without compromising readability or requiring jumping.
This is also how John Carmarck recommends in this popular essay: http://number-none.com/blow/john_carmack_on_inlined_code.html http://number-none.com/blow/john_carmack_on_inlined_code.htm...