Re^2: gotos (actually: **Apology**)

Henry Spencer henry at utzoo.uucp
Sun Apr 24 10:48:42 AEST 1988


> When faced with multiple occurances of a common section
> of code, one has four choices (any others?):
>   1) some sort of subroutine,
>   2) replicating the code in multiple places,
>   3) some type of big, ugly conditional statement to
>      bring unite the occurances,
>   4) goto.

Remember that there are two separate issues here:  what you write, and the
code the compiler generates for it.  With modern compilers, the two are
often quite different.
-- 
"Noalias must go.  This is           |  Henry Spencer @ U of Toronto Zoology
non-negotiable."  --DMR              | {ihnp4,decvax,uunet!mnetor}!utzoo!henry



More information about the Comp.lang.c mailing list