Andrew Lentvorski wrote:
> James G. Sack (jim) wrote:
> 
>> Such long structures are, IMO almost always indicators of code that can
>> be made easier to understand and maintain by pulling out functions.
> 
> You know ... I'm unconvinced.
> 
> There is a balance between pulling functions out and having everything
> in front of you.
> 
> Of course, I tend to like to see a dead tree version of all the code at
> least once.  Maybe it's just my own personal failing.
> 
> I *hate* navigating heavily refactored code.  When I react viscerally to
> something, that's a good sign that *something* is wrong, but I just
> can't quite figure it out.

Understood. The folding idea would seem to address my desire to see
large-chunk abstractions just as well as function calls. But I've never
gotten comfortable (competent) with folding tools. I have seen people
that did use them, do so with quite effectively.

Regards,
..jim.

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to