From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,d95b511473b3a931 X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,d95b511473b3a931 X-Google-Attributes: gid103376,public X-Google-Thread: 1014db,d95b511473b3a931 X-Google-Attributes: gid1014db,public From: ucaa2385@alpha1.csv.ica.uni-stuttgart.de (Peter Hermann) Subject: Re: Language Choice and Coding style Date: 1996/07/04 Message-ID: <4rg50o$2on4@info4.rus.uni-stuttgart.de>#1/1 X-Deja-AN: 163651018 references: <4r3bp1$cea@Starbase.NeoSoft.COM> <836339497.14712.2@assen.demon.co.uk> <4rcl9r$dss@Starbase.NeoSoft.COM> <4rcs95$ojg@blackice.winternet.com> <4rfijr$k26@sunsrv12.clr.com> organization: Comp.Center (RUS), U of Stuttgart, FRG newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++ Date: 1996-07-04T00:00:00+00:00 List-Id: Phil Howard (phoward@sunsrv13.clr.com) wrote: : Certainly programmers don't agree on what the common standard _should_ be. : We see that here if we dare describe our preferences. This is exactly the crucial point. : I have found that certain styles are very hard to read and other styles : are very easy. You can bet I avoid the styles that are hard to read. : Following up on what you said, I'd suggest a programmer who finds the : standard style where they work to be hard to read to polish their resume. : But I've also found programmers who find my style hard to read, and who : use a style I find hard to read. It's not just a matter of degree; it can : be totally opposite. I fully agree with you. We take the indendation, as an example, which can be easily enforced by machine: With growing experience, a softworker will tend to accept indentation and use it on his own because long-term experience indicates that this is indeed very practical. Look at this piece of code for i in field'range loop field(i) := value; end loop; Why should I seriously hinder a programer (by means of some stupid preprocessor) to choose a possibly clearer sequence of statements like for i in field'range loop field(i) := value; end loop; As I said before, I actively hate imposing extra rules to the human programmer. This can be left to the C/C++-hackers which dearly need extra rules to survive. -- Peter Hermann Tel:+49-711-685-3611 Fax:3758 ph@csv.ica.uni-stuttgart.de Pfaffenwaldring 27, 70569 Stuttgart Uni Computeranwendungen Team Ada: "C'mon people let the world begin" (Paul McCartney)