🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #8913

Re: indentation style

#8913
From: Robert A. Lerche
Date: Thu, 08 Feb 1990 04:01
32 lines
1061 bytes
Might I suggest...

	/name
	{	line 1
		line 2
		etc...
	} def

Similarly...

	condition
	{	line 1 of true
		...
	}
	{	line 1 of false
		...
	} ifelse

etc.  This style (braces lined up with each other and outside indentation)
is nice for C, too...

	if (condition)
	{	line 1 true ;
		line 2 true ;
	}
	else
	{	line 1 false ;
		line 2 false ;
	}

I never will understand the attraction of braces that don't line up with
each other.
Technical Details
Message-ID: <7941@lindy.Stanford.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!jarthur!usc!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!agate!shelby!lindy!ralerche
References: <17807@rpp386.cactus.org> <9002040147.AA16999@en.ecn.purdue.edu> <45829@wlbr.IMSD.CONTEL.COM> <17880@rpp386.cactus.org>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!jarthur!usc!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!agate!shelby!lindy!ralerche
From: ralerche@lindy.Stanford.EDU (Robert A. Lerche)
Newsgroups: comp.lang.postscript
Subject: Re: indentation style
Message-ID: <7941@lindy.Stanford.EDU>
Date: 8 Feb 90 04:01:43 GMT
References: <17807@rpp386.cactus.org> <9002040147.AA16999@en.ecn.purdue.edu> <45829@wlbr.IMSD.CONTEL.COM> <17880@rpp386.cactus.org>
Sender: ralerche@lindy.Stanford.EDU (Robert A. Lerche)
Reply-To: ralerche@lindy.Stanford.EDU (Robert A. Lerche)
Organization: Research Libraries Group
Lines: 32