lkml.org 
[lkml]   [2003]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: any chance of 2.6.0-test*?
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/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.298 / U:3.124 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site