--- Chris Abbey <cabbey@bresnanlink.net> wrote: > At 11:32 12/7/00 +0100, Corinna Vinschen wrote: > >Personally I like if (!strlen (foo)) much more. >> the only reason I don't code that way is that this treats > an integer as a boolean. it is, imho, sloppy code. > I don't find this "sloppy code" at all. In fact I would automatically do it this way as it is faster to do bit boolean than byte/word comparison. GCC optimizations probably make it a mute point but I've been around for a long time and not all compilers are as good. Cheers, ===== Earnie Boyd mailto:earnie_boyd@yahoo.com --- < http://earniesystems.safeshopper.com > --- --- Cygwin: POSIX on Windows < http://gw32.freeyellow.com/ > --- --- Minimalist GNU for Windows < http://www.mingw.org/ > --- __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com