🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #880

Re: Scope of switch statements

#880
From: Henry Spencer
Date: Thu, 09 Nov 1989 20:06
9 lines
795 bytes
In article <15743@bloom-beacon.MIT.EDU> tada@athena.mit.edu (Michael J Zehr) writes:
>is this obfuscated code not ANSI or is the compiler broken?  

It is legal, although ugly, ANSI C.  Also legal (but ugly) traditional C.
Dennis Ritchie himself has officially blessed this disgusting construct,
and indeed it has one or two legitimate uses.
-- 
A bit of tolerance is worth a  |     Henry Spencer at U of Toronto Zoology
megabyte of flaming.           | uunet!attcan!utzoo!henry henry@zoo.toronto.edu
Technical Details
Message-ID: <1989Nov9.200639.8868@utzoo.uucp>
Path: arc1-ca.pugleaf.net!utzoo!henry
References: <15743@bloom-beacon.MIT.EDU>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c
Path: arc1-ca.pugleaf.net!utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: Re: Scope of switch statements
Message-ID: <1989Nov9.200639.8868@utzoo.uucp>
Organization: U of Toronto Zoology
References: <15743@bloom-beacon.MIT.EDU>
Date: Thu, 9 Nov 89 20:06:39 GMT