Re: Missing in misc.e
- Posted by Jason Gade <jaygade at y?h?o.com> Jul 21, 2007
- 701 views
Pete Lomax wrote: > > CChris wrote: > > > > Pete Lomax wrote: > > > > > > here's a single min() function that does the three things it ought to. > <SNIP> > > I don't know if you ever heard about the Shadoks cartoon. One of their > > great thoughts was "Why make it simple since we can make it more > > complicated?". > No, I never heard of that. Frankly, I am surprised that you like it since I > thought you might have a problem with the relatively large number of tests > needed > to make the simple interface work I look forward to seeing how it fares > in this weekends bench tests. > > Regards, > Pete Heh, I thought that it was a bit complicated too. I'm all for consolidating, but sometimes too much is too much. -- "Any programming problem can be solved by adding a level of indirection." --anonymous "Any performance problem can be solved by removing a level of indirection." --M. Haertel "Premature optimization is the root of all evil in programming." --C.A.R. Hoare j.