tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Using qsort(3) in the kernel



David Holland wrote:
On Sun, Nov 16, 2008 at 03:19:41PM -0500, Martin S. Weber wrote:
 > Yes that's obvious. Given my background in functional languages I'm
 > just intrigued by the statement 'recursive is bad, imperative
 > for/while loops are good'.

Loops are generally easier for both the programmer and compiler to
deal with. :-p

Not sure I agree with either of those statements.
However, there are certainly different issues with either. And sometimes one or the other is more important/relevant.

        Johnny



Home | Main Index | Thread Index | Old Index