🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #9014

Re: indentation style

#9014
From: Woodrow Baker
Date: Mon, 19 Feb 1990 19:14
33 lines
1076 bytes
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
Technical Details
Message-ID: <17982@rpp386.cactus.org>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!texbell!uudell!natinst!rpp386!woody
References: <6382@cps3xx.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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