Garrett D'Amore wrote: >> > Actually, I think a few other places I also used != 0. Although >> > compilers evaluate it the same way, I prefer to make comparison against >> > zero explicit. I thought at one point I'd even seen a style guide >> > recommending or requiring this. >> >> Really? I don't recall anything about that. >> > > I don't recall where I saw it. It *could* just be weird neuron > misfires in my brain.
it sounds familiar to me as well; it's possible that I saw it before working for Sun though. I just went to onnv.eng to look up the style guide I once had, but it's not there - does anyone have a link? Michael -- Michael Schuster http://blogs.sun.com/recursion Recursion, n.: see 'Recursion' _______________________________________________ driver-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/driver-discuss
