Re: voting on GOTO

new topic     » goto parent     » topic index » view thread      » older message » newer message

ken mortenson wrote:
>   
> Labels are not equivalent to the start of a structure.  While can only be
> the first instruction or entered from a preceding instruction.  Labels add
> cost because they can be ENTERED FROM ANYWHERE in the current scope.
> 

This totally depends on how you code. The few times I've used goto in C, the
number of entry points was exactly one. Sure, get sloppy and enter from a
thousand points, whoa! Look out, that's code that is probably easier to analyze
the problem from scratch and rewrite w/o even becoming corrupted with the twisted
mess that was originally created.

--
Jeremy Cowgar
http://jeremy.cowgar.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu