Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site mit-eddie.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!jbs From: jbs@mit-eddie.UUCP (Jeff Siegal) Newsgroups: net.lang.c Subject: Re: "C" wish list. Message-ID: <264@mit-eddie.UUCP> Date: Thu, 31-Oct-85 17:42:44 EST Article-I.D.: mit-eddi.264 Posted: Thu Oct 31 17:42:44 1985 Date-Received: Sat, 2-Nov-85 05:45:20 EST References: <335@graffiti.UUCP> <895@rlvd.UUCP> <742@mmintl.UUCP> Reply-To: jbs@mit-eddie.UUCP (Jeff Siegal) Distribution: net Organization: MIT, Cambridge, MA Lines: 34 Keywords: C In article <742@mmintl.UUCP> franka@mmintl.UUCP (Frank Adams) writes: >I disagree; I prefer ;'s as statement terminators. Trying to look at it >objectively, I can see very little reason to prefer one or the other. I >suspect most people prefer whichever they first dealt with. I am reasonably >certain that essentially the same problem occurs either way: leaving them >out when they are required, or inserting them when they are illegal. > Not exactly true. With the statement separator model (Algol, Pascal), one is free on insert or remove semi's at the end of the last statement of a block with both forms being syntactically correct. This does not work with the statement terminator model (C). As in: BEGIN a := a + 1; b := b + 1; END or BEGIN a := a + 1; b := b + 1 END Of course, in the first case, the last statement in the block is really the-null-statement which is between the semi (statement separator) and the END (complex statement terminator). Jeff Siegal - EECS P.S. I like statement terminators better too.