Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!xanth!wayne From: wayne@cs.odu.edu (C Wayne Huling) Newsgroups: comp.lang.pascal Subject: Re: Indenting Message-ID: <10090@xanth.cs.odu.edu> Date: 4 Oct 89 02:47:53 GMT References: <21041@adm.BRL.MIL> Reply-To: wayne@cs.odu.edu (C Wayne Huling) Organization: Old Dominion University, Norfolk Va. Lines: 21 In article <21041@adm.BRL.MIL> R1TMARG%AKRONVM.BITNET@cornellc.cit.cornell.edu (Tim Margush) writes: >Since the writeln is intended for debugging purposes, the semicolon in front >helps me to spot it quickly. If I was going to modify the code permanently, >I would put the semi where it belongs. There is no reason that code >modification ought to be "easy!" We all know that we must take into >consideration surrounding code when making changes. Adding the semi here is >part of that "reasonable" task. I still believe that using the semicolon >as a statement terminator is a wrong concept to teach any beginning >student. It will always make the if then else structure more difficult >as there is no way that you can say that x:=x+1 is a statement one place >but not another! > When I learned pascal, we were taught no way to structure the code in the editor, we just were given suggestions. Of the 13 of of we all had similar ways of programming indetion and such but each person was unique. Hence, the indenting should be left up to the individual, no one can convince me that their way is better than mine, but if you want to know I will show you how I do my indenting and such. This uniqueness makes each programer's program personalized. I like to hear how other people do format it however. Wayne wayne@cs.odu.edu