RE: (TC304.2308) translating logical operators

From: Ayers, Mike (
Date: Fri Jun 09 2000 - 16:03:56 EDT

> From: John Cowan []
> Sent: Friday, June 09, 2000 10:33 AM
> > In any event, relying on the conditional evaluation or
> non-evaluation
> > of the second operand in "&&" and "||" is considered tricky
> C and best
> > avoided, although there are some cases where it is indispensible.
> Humph. Any feature is "tricky" to those who don't understand it.
> Failing to grasp the Buddha-nature of && and || disqualifies one
> as a competent C programmer, IMNSHO. Now Duff's device
> ('s-device.html),
> *that's* tricky.

        I believe that by "tricky" what was meant is that not all compilers
properly implement it. At least that's the way I read it, however, since I
once got bit pretty hard by a C compiler which didn't implement short
circuit, I would be prone to reading it that way.

        ObUnicode: Does anyone have any handy pointers to Bengali fonts,
input methods and/or implementations that would run on a native English
Windows, Mac, or Unix system?

        Note on and/or: Yes, I know that and/or is bad logic. Good thing
I'm not Spock! :-p


This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:21:03 EDT