On Fri, Mar 14, 2008 at 07:19:44PM -0700, Darren New wrote:
> When the functionality you're working on has a whole bunch of state,
> where you have maybe a dozen variables tracking various bits of
> information as you go through an algorithm, breaking it into a bunch of
> functions just obscures what you're doing. The functions don't stand on
> their own and you wind up passing all kinds of stuff in arguments that's
> really context instead of arguments.

Wise OOP design is how I'd handle all that state.  Then I'd go back
to writing nice little methods for my classes. :)

cs

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

Reply via email to