Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!ukma!uflorida!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn ) Newsgroups: comp.unix.wizards Subject: Re: braces (was: Latest indent request) Keywords: braces religion Message-ID: <9076@smoke.BRL.MIL> Date: 5 Dec 88 17:27:41 GMT References: <17680@adm.BRL.MIL> <1748@solo3.cs.vu.nl> <9063@smoke.BRL.MIL> <9125@rpp386.Dallas.TX.US> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB)) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 15 In article <9125@rpp386.Dallas.TX.US> jfh@rpp386.Dallas.TX.US (The Beach Bum) writes: >I have one MAJOR gripe with the above { } scheme. Consider: >main () >{ > if (expr) > { But that's not the scheme I recommended. I also indent the braces for the body of a function. Basically, controlled statements are indented. To be 100% consistent there should be yet another indent after {, but that's too much indentation even for me. >Henry is too god. But is he too god to be true? That is the question.