Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!apple!lins From: lins@Apple.COM (Chuck Lins) Newsgroups: comp.lang.pascal Subject: Re: Indenting Message-ID: <35215@apple.Apple.COM> Date: 3 Oct 89 15:43:49 GMT References: <89273.185750TBC101@PSUVM.BITNET> <704@thor.wright.EDU> <9253@pyr.gatech.EDU> <10595@claris.com> Organization: Apple Computer Inc, Cupertino, CA Lines: 34 In article <10595@claris.com> drc@claris.com (Dennis Cohen) writes: >mlw@pyr.gatech.EDU (Michael Williams) writes: >> ... >>matter of personal preference. In fact, I have the following preference: > >> for i := 1 to 10 do begin >> x := a[i]; >> b[i+1] := x + 10; >> end; > >>The "begin" does not waste a line on my screen, allowing me to see more of I also prefer this style. IMHO, the BEGINs of Pascal are a syntactic extra. IHMO, I personally prefer the Modula-2 constructs where END is used to complete such statements as FOR, WHILE, etc. >The thing I really don't understand is what the fuss is about this whole >subject. From the early days of Pascal, one of the most popular "utility" >programs was the source reformatter. These reformatters are extremely I agree that the MPW tool PasMat is extremely useful. Unfortunately, it wants syntactically correct Pascal programs and so it won't format Modula-2 programs (sigh). In an educational environment, perhaps the students should work in small teams to write a formatter. -- Chuck Lins | "Exit left to funway." Apple Computer, Inc. | Internet: lins@apple.com 20525 Mariani Avenue | AppleLink: LINS Mail Stop 41-K | Cupertino, CA 95014 | "Self-proclaimed Object Oberon Evangelist" I speak for myself and no one else.