Re: voting on GOTO
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
|
Not Categorized, Please Help
|
|