cond. op. on ='s LHS
Doug Gwyn
gwyn at smoke.brl.mil
Thu Feb 14 08:28:38 AEST 1991
In article <11073 at pasteur.Berkeley.EDU>, johnm at cory.Berkeley.EDU (John D. Mitchell) writes:
- In article <4155 at cernvax.cern.ch> burow at cernvax.cern.ch (burkhard burow) writes:
- >I'm wondering if anyone has any comments on using:
- > *(a==b?&c:&d) = 1;
- >instead of:
- > if (a==b) c=1;
- > else d=1;
My comment was going to be that it sucked bigtime. However, I'll
buy "ugh" as a suitable comment too.
- P.S. No wonder people complain about the denseness of C code!
C code has nothing to do with it, more like the density of some coders.
More information about the Comp.lang.c
mailing list