Article View: comp.lang.postscript
Article #9007Re: indentation style
From: delong
Date: Fri, 09 Feb 1990 23:13
Date: Fri, 09 Feb 1990 23:13
29 lines
944 bytes
944 bytes
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
Keith
delong@frith.egr.msu.edu
Delta College
Technical Details
Message-ID:
<6382@cps3xx.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!samsung!umich!sharkey!cfctech!teemc!ka3ovk!ki4pv!cdin-1!dsinc!netnews.upenn.edu!cps3xx!delongShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!samsung!umich!sharkey!cfctech!teemc!ka3ovk!ki4pv!cdin-1!dsinc!netnews.upenn.edu!cps3xx!delong From: delong@frith.egr.msu.edu Newsgroups: comp.lang.postscript Subject: Re: indentation style Message-ID: <6382@cps3xx.UUCP> Date: 9 Feb 90 23:13:00 GMT Sender: usenet@cps3xx.UUCP Reply-To: delong@frith.egr.msu.edu () Lines: 29