[net.lang.c] aesthetics of C, and the ANSI st

rgh@inmet.UUCP (09/09/84)

#R:vu44:-37500:inmet:5000021:000:227
inmet!rgh    Aug 31 08:04:00 1984

> You can take the address of a label using "&foo".

On the other hand, both K&R and the draft ANSI C standard say
"The only use of a label is as a target of a GOTO statement."

    Randy Hudson
    {ihnp4,harpo,ima}!inmet!rgh

benk@inmet.UUCP (09/09/84)

#R:vu44:-37500:inmet:5000023:000:280
inmet!benk    Aug 31 14:45:00 1984


Maybe K. & R. and the ANSI standard should be modified to read:

	"The only use of a label is as the target of a GOTO
         or as the operand of '&'.  In the latter case,  the
	 compiler is required to produce the diagnostic message
	 'fatal error: programmer I.Q. too low'."