Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!mhuxm!mhuxf!mhuxi!mhuhk!mhuxt!houxm!ihnp4!bentley!kwh From: kwh@bentley.UUCP (KW Heuer) Newsgroups: net.lang.c Subject: Indentation and braces Message-ID: <855@bentley.UUCP> Date: Mon, 26-May-86 14:55:10 EDT Article-I.D.: bentley.855 Posted: Mon May 26 14:55:10 1986 Date-Received: Wed, 28-May-86 01:49:38 EDT References: <146@cs.qmc.ac.uk> Organization: AT&T Bell Laboratories, Liberty Corner Lines: 12 In article <146@cs.qmc.ac.uk> qmc-cs!liam (William Roberts) writes: >I use programs like "cb" and "indent" to get my C programs >indented according to what they *REALLY* mean, as opposed to >what I intended them to mean (indicated by MY indenting). This >can be quite illuminating.... I presume you then compare it to the original. Yes, that's a useful trick. However, if indentation always reflects your intention, then eliminating the braces and making indentation significant would prevent this type of bug in the first place! Karl W. Z. Heuer (ihnp4!bentley!kwh), The Walking Lint