From: David Ross Date: 2004-08-28T09:03:45+09:00 Subject: Re: performance comparison Yes, that was the book :) I have several others, I don't remember the exact programming error that was in it. There are plenty of other typo bugs that are easy to make that lint will not catch. Just be around and watch OS developers more often. The DragonFlyBSD team often report what they are working on in the channel, plus I read the commits. --- Charles Mills wrote: > On Aug 27, 2004, at 3:34 PM, David Ross wrote: > > > > > --- Lothar Scholz > > > wrote: > > > >> Typos are by definition easier to find in static > >> typed programs. > > > > Oh really? That would explain the 20 million > dollar > > bug.. > > > > s=2 when it was meant to be s==2 > > :) > > > > Did you get that deep C secret from "Expert C > Programming"? :) > If I remember right he goes on to say that any half > way decent version > of lint would have found that bug. Then he argues > that lint should > have never been separated from the compiler in the > first place. Not > sure but I think the bug was the reverse 's==2;' > instead of 's=2;'. > The statement was all alone on one line and would be > flagged with a > warning by just about any compiler these days - > statement with no > effect. > -Charlie > > > > --David > > > >> -- > >> Best regards, emailto: > >> scholz at scriptolutions dot com > >> Lothar Scholz > > --------------------------------------- -- Name: David Ross -- Phone: 865.539.3798 -- Email: drossuby [at] yahoo [dot] com --------------------------------------- __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail