Re: any chance of 2.6.0-test*?

From: Billy Rose (passive_induction@sbcglobal.net)
Date: Sun Jan 12 2003 - 23:37:01 EST


At 04:59 PM 1/12/2003 -0500, Adam Kropelin wrote:
>The use of goto in the kernel surprised me the first time I saw it, too.
>However, rather than hurry to point out how much more I knew about C
>style than the kernel hackers, I stayed quiet and made a learning
>experience of it. I suggest you do the same.
>
>--Adam

every article i have read (an agreed with) on operating system internals,
has stated that the goto is considered taboo in C... _except_ in operating
system code where speed is critical, and goto can increase readability.
i taught myself how to program by single stepping through assembly
code on a DOS machine. i have found that too much structure leads
not to modular code that is easy to maintain, but a nightmare of
conditionals that cause your head to throb trying to trace the state
of an execution. being that i am partial to assembly, perhaps i am
biased in the matter.

br

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 22:00:44 EST