The D Programming Language

Richard A. O'Keefe ok at quintus.UUCP
Fri Mar 4 10:37:23 AEST 1988


In article <25203 at cca.CCA.COM>, g-rh at cca.CCA.COM (Richard Harter) writes:
> 	If one is really concerned about the dangling else problem there
> is a very simple solution -- use different keywords for two sided if's and
> one sided if's.

BCPL did this:  TEST is the two-armed version, and IF the one-armed one.
There was presumably a reason why C did not inherit this feature;
does anyone know what the reason was?



More information about the Comp.lang.c mailing list