Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!ncar!boulder!sunybcs!rutgers!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: Dubious C code Keywords: for switch in case do bananas Message-ID: <9619@smoke.BRL.MIL> Date: 8 Feb 89 19:23:22 GMT References: <1508@zen.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 6 In article <1508@zen.UUCP> frank@zen.co.uk (Frank Wales) writes: >The question is, *should* it compile without any complaints at all? Why not? It's legitimate C code. It follows the rules. So what if it's a stupid algorithm? It's not the compiler's job to criticize the choice of algorithms.