comma operator

Greg Wilkins gregw at otc.otca.oz
Thu Aug 10 12:12:51 AEST 1989


In article <1296 at atanasoff.cs.iastate.edu>, hascall at atanasoff.cs.iastate.edu (John Hascall) writes:

>      (wouldn't it be even more obfuscating and fun is all C
>      statements were also expressions!! [holy shades of BLISS])
> 

If all C statements were suddenly redefined as void expression, what difference
would it make to the language?

It would add some flexibility and orthogonality, but would it stop any
existing programs from compiling?

I cant see it causing a problem unless it caused ambiguities in the grammar?


-Greg Wilkins



More information about the Comp.lang.c mailing list