Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!sun-barr!ames!pacbell!ptsfa!des From: des@PacBell.COM (Doug Sanderson_Gomke) Newsgroups: comp.lang.c Subject: Re: lint won't verify printf formatting against variable types?? Keywords: lint, cc Message-ID: <4874@ptsfa.PacBell.COM> Date: 7 Jul 89 15:31:03 GMT References: <328@tree.UUCP> <417@siswat.UUCP> <105@borabora.omni.com> <10459@socslgw.csl.sony.JUNET> Reply-To: des@PacBell.COM (Doug Sanderson_Gomke) Organization: Pacific * Bell, San Ramon, CA Lines: 18 In article <10459@socslgw.csl.sony.JUNET> diamond@csl.sony.junet (Norman Diamond) writes: >In article <105@borabora.omni.com> bob@omni.com (Bob Weissman) writes: > >>Last week I spent an entire day tracking down one of those bugs you just >> action; >>My lint (SunOS 4.0.1 version) did not flag the extra semicolon. >> >>I Hate C. > >This is one of many defects in C . . . I suggest both of you consider the difference between a _bug_ and a _feature_. This particular _feature_ of C is one of the things that adds to its flexibility and therefore its usefulness. A simple way to check for the missuse of this feature is to do a global search for _);_, if you are inclined to typos (as I am). ("It is a poor workman who blames his tools"). bibi