Path: utzoo!attcan!utgpu!watmath!att!tut.cis.ohio-state.edu!cica!iuvax!purdue!ames!uhccux!munnari.oz.au!otc!gregw
From: gregw@otc.otca.oz (Greg Wilkins)
Newsgroups: comp.lang.c
Subject: Re: comma operator
Summary: functional programming?
Message-ID: <814@otc.otca.oz>
Date: 10 Aug 89 02:12:51 GMT
References: <10099@mpx2.mpx.com> <93@microsoft.UUCP> <10100@mpx2.mpx.com> <1296@atanasoff.cs.iastate.edu>
Organization: OTC Development Unit, Australia
Lines: 16

In article <1296@atanasoff.cs.iastate.edu>, hascall@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