OH NO!! (Re: Standard Indentation etc.)

Dave Jones djones at megatest.UUCP
Tue Dec 20 08:54:39 AEST 1988


>From article <952 at ardent.UUCP), by mec at outcast.ardent.com (Michael Chastain):
) OK, here's my favorite switch statement:
) 
) 	switch ( iThing )
) 	{
) 	default:
) 		stmt;
) 		stmt;
) 		break;
) 
) 	case 1:
) 		stmt;
) 		stmt;
) 		goto LCase2;
) 
) 	case 2:
) 	LCase2:
) 		stmt;
) 		stmt;
) 		break;
) 	}
) 


GOTO-Alert!! GOTO-Alert!!  Prepare asbestos suits immediately.
Repeat.  Prepare asbestos suits immediately.

This is not a drill.

Stand by for Strident-Pedant-Warning to follow.



More information about the Comp.lang.c mailing list