Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!texbell!uudell!natinst!rpp386!woody From: woody@rpp386.cactus.org (Woodrow Baker) Newsgroups: comp.lang.postscript Subject: Re: indentation style Summary: I like this one a LOT Message-ID: <17982@rpp386.cactus.org> Date: 19 Feb 90 19:14:59 GMT References: <6382@cps3xx.UUCP> Organization: River Parishes Programming, Plano, TX Lines: 33 In article <6382@cps3xx.UUCP>, delong@frith.egr.msu.edu writes: > Myself, I like a hybrid of a couple of those styles. It leaves the > name hanging, reduces the ease of accidental deletion of a brace, and > keeps the braces lined up (so you can see them without code getting > in the way). > > /name > { > line 1 > line 2 > etc ... > } def > > condition > { > line 1 of true > line 2 of true > etc ... > } > else > { > line 1 of false > line 2 of false > etc ... > } ifelse > > I like this one a LOT. it is clean and readable. Cheers Woody