> Understood. Will act to have myself and people here run it before
> sending next times ... Don't bother to fix it yourself, there's still
> time, Ron will fix and resend.
OK, thanks.
> > not a big deal either way. I prefer my way because if I have
> > if (something)
> > func(lots, of, parameters, all, the, same, except, 1);
> > else
> > func(lots, of, parameters, all, the, same, except, 0);
> > then it's not always so clear what the difference between the two
> > function calls really is without reading carefully. By putting
> > !!something into the call:
> >
> > func(lots, of, parameters, all, the, same, except, !!something);
> >
> > it becomes obvious how the value of something is used.
> yes, I see the point, once you get used to it, !! code is clearer than
> func(lots, of, parameters, all, the, same, except, X). So Ron will fix
> this as well.
By the way, if you prefer I think
func(lots, of, parameters, all, the, same, except, something ? 1 : 0);
is OK too but I personally find the !! idiom a little nicer.
- R.
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general