[TriLUG] OT: A C++ Templated Class Problem

Wing D Lizard wingedlizard at nc.rr.com
Mon Apr 17 14:31:29 EDT 2006


Owen Berry wrote:
> On Mon, Apr 17, 2006 at 02:10:45PM -0400, Tanner Lovelace wrote:
>> The solution to this is to make code sections small.  Make them
>> do one thing and only one thing.  That doesn't mean it can be
>> done in a clever manner.
>
> I seem to remember Linus saying something in an interview I read to the
> effect that a function should perform one task, otherwise it is too
> complicated. 
That's from back in the K&R days, when Linus was in diapers.  Heck, it
probably predates them too.

b²





More information about the TriLUG mailing list