3 ms·
I like the takeaway on reasonability. I've heard mantras on "there's too many lines of code here, break it up!" but if it reads well on its own then no worries.
by dfischer 10y ago
I like the takeaway on reasonability. I've heard mantras on "there's too many lines of code here, break it up!" but if it reads well on its own then no worries...
Break things up for reasonability. If there's a bunch happening within a function body and you can give some semantic meaning to what's going on in there then go for it.