SIZEOF

gam gam at amdahl.UUCP
Fri Feb 1 10:42:00 AEST 1985


> > Anyone who has made much effort at porting C code has encountered lots of
> > problems, all too many of which are due to people misusing the language.
> > Many of those can be avoided by using "lint".  Go forth and do so.
> > 
>    With regard to lint:
> 
>    1) Most people working in a Unix environment never use it, because they
>       don't have to.
>    Human nature being what it is, "go forth and use lint" should get approx-
> imately the same enthusiastic response as "go forth and sin no more."

Lint is widely used here.  On more than one occasion a casual misuse
of pointers or arrays were pointed out by lint.  Also lint gets almost
as much attention as the C compiler, as far as program maintanence
is concerned.  And porting programs from other systems would be
a painful task without lint.

People here aren't using lint because it is a good upright moral
thing to do; they use it because it helps to solve problems.  That's
what a good tool is for.
-- 
Gordon A. Moffett		...!{ihnp4,hplabs,sun}!amdahl!gam



More information about the Comp.lang.c mailing list