Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!linus!decvax!genrad!panda!talcott!harvard!seismo!brl-tgr!tgr!DHowell.ES@Xerox.ARPA From: DHowell.ES@Xerox.ARPA Newsgroups: net.lang.c Subject: Re: C bites / programming style Message-ID: <1297@brl-tgr.ARPA> Date: Fri, 6-Sep-85 20:06:44 EDT Article-I.D.: brl-tgr.1297 Posted: Fri Sep 6 20:06:44 1985 Date-Received: Tue, 10-Sep-85 20:57:46 EDT Sender: news@brl-tgr.ARPA Lines: 28 Personally, I don't really like the {} braces of C, nor the "begin..end" of Pascal and its relatives. This is one thing that Ada has going for it with its "if..then..endif" style. I like to use these definitions: #define IF if( #define THEN ){ #define ELSE }else{ #define ENDIF } Then I can write ... IF condition THEN statement_1 ELSE statement_2 ENDIF ... Which I think is much cleaner than anything using braces or begin..end. (Gee, I should write my own language) Dan Disclaimer: I'm having a hard time finding anyone who has my opinions besides me.