lint won't verify printf formatting against variable types??

Norman Diamond diamond at diamond.csl.sony.junet
Thu Jul 6 17:58:32 AEST 1989


In article <414 at isadora.ikp.liu.se> hacker at isadora.ikp.liu.se (Goran Larsson [Hacker of Hackefors]) writes:

>The problem is that "if ( condition )" feels like a function call to
>your fingers and when your brain orders a new line, one of your fingers
>will automagically add the semicolon.

This is exactly true.  Thank you for a perfect explanation.

/* FLAME directed to certain people NOT INCLUDING Mr. LARSSON

In fact, it is true of many things about C.  Now I understand the
defenders of C.  It isn't the language that encourages programming
errors, it's our fingers.  We should all upgrade our fingers to the
newest bug-free release.

*/

--
Norman Diamond, Sony Computer Science Lab (diamond%csl.sony.jp at relay.cs.net)
 The above opinions are claimed by your machine's init process (pid 1), after
 being disowned and orphaned.  However, if you see this at Waterloo, Stanford,
 or Anterior, then their administrators must have approved of these opinions.



More information about the Comp.lang.c mailing list