On Fri, Nov 17, 2006 at 01:12:55PM +0100, Stefan Reinauer wrote:
> The initial idea is that the use of goto makes it hard for the compiler
> to do code flow optimization.

The initial idea why you should _not_ use GOTOs is that GOTOs suck ;-)
There was a paper called "Go To Statement Considered Harmful" from
Edsger W. Dijkstra (and that man probably knows what he's talking about)
in 1968 (!). GOTOs usually produce unreadable, unmaintainable code and
should generally not be used.

But yeah, in low-level programming it may make sense in certain
situations, as the code sometimes gets very ugly otherwise...


Uwe.
-- 
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org

Attachment: signature.asc
Description: Digital signature

-- 
linuxbios mailing list
[email protected]
http://www.openbios.org/mailman/listinfo/linuxbios

Reply via email to