Path: utzoo!utgpu!attcan!uunet!ncrlnk!wright!bkottman
From: bkottman@wright.EDU (Brett Kottmann)
Newsgroups: comp.lang.pascal
Subject: Re: Indenting
Message-ID: <703@thor.wright.EDU>
Date: 1 Oct 89 18:58:07 GMT
References: <89273.161831TRM900@PSUVM.BITNET>
Organization: Wright State University, Dayton OH, 45435
Lines: 34

in article <89273.161831TRM900@PSUVM.BITNET>, TRM900@PSUVM.BITNET (Tony R. Marasco) says:

 deleted stuff


Code style is usually a judgement call.

I've had points taken off for writing code the same way as K&R did in
their C manual.  (Interesting attempt by grader to justify it :) )

BEGIN/END can be taken as:

	Code the same level as previous statements, enclosing code to be
further indented

	Or

	The delimiters for indented code (indented like the code in
between)

	For my classes, either one is okay.

	It's kind of  like the argument for THEN on the same line as
the IF or on the next line.  (Which has proponents for both styles)

	IMHO the grader should give back the points, unless it was
specifically stated that BEGIN/END pairs should be indented otherwise.


							Brett Kottmann
							Wright State U.
=========================================================================
It's too bad we don't teach our students how to teach themselves.
=========================================================================