Re: The semicolon habit (was: Q: Definition of a scripting lang.)

daveb@perth.DIALix.oz.au (David Brooks)
Sun, 30 Apr 1995 23:55:05 GMT

          From comp.compilers

Related articles
[5 earlier articles]
Re: The semicolon habit (was: Q: Definition of a scripting lang.) scooter@mccabe.mccabe.com (1995-04-27)
Re: The semicolon habit (was: Q: Definition of a scripting lang.) cg@Myrias.AB.CA (1995-04-27)
Re: The semicolon habit (was: Q: Definition of a scripting lang.) schrod@iti.informatik.th-darmstadt.de (1995-04-28)
Re: The semicolon habit (was: Q: Definition of a scripting lang.) jgmorris@cs.cmu.edu (Greg Morrisett) (1995-04-29)
Re: The semicolon habit (was: Q: Definition of a scripting lang.) J.C.Highfield@loughborough.ac.uk (1995-04-30)
Re: The semicolon habit (was: Q: Definition of a scripting lang.) mitchell@mdd.comm.mot.com (1995-04-30)
Re: The semicolon habit (was: Q: Definition of a scripting lang.) daveb@perth.DIALix.oz.au (1995-04-30)
Re: The semicolon habit (was: Q: Definition of a scripting lang.) anw@maths.nottingham.ac.uk (Dr A. N. Walker) (1995-05-02)
Re: The semicolon habit (was: Q: Definition of a scripting lang.) lwall@netlabs.com (1995-05-09)
Re: The semicolon habit (was: Q: Definition of a scripting lang.) tchannon@black.demon.co.uk (Tim Channon) (1995-05-04)
Re: The semicolon habit (was: Q: Definition of a scripting lang.) ok@cs.rmit.edu.au (1995-05-04)
Re: The semicolon habit (was: Q: Definition of a scripting lang.) bevan@cs.man.ac.uk (1995-05-10)
Re: The semicolon habit (was: Q: Definition of a scripting lang.) bevan@cs.man.ac.uk (1995-05-10)
[9 later articles]
| List of all articles for this month |
Newsgroups: comp.compilers
From: daveb@perth.DIALix.oz.au (David Brooks)
Keywords: syntax, design
Organization: DIALix Services, Perth, Australia.
References: 95-04-013 95-04-160
Date: Sun, 30 Apr 1995 23:55:05 GMT

  While I can see the merit of getting rid of the "one statement per line"
habit, in terms of being closer to natural languages, I do see one
possible drawback.
  I have just been working with some fairly heavy-duty C++ code, and it
can be quite baffling to get a (sometimes misleading) compiler
diagnostic, which points at a line containing a really heavy compound
statement. It's by no means always obvious what the compiler is objecting to.


  A further point (this is really one of author discipline, rather than
language design) is trying to find deeply embedded data declarations.
Exactly what is "thingy" declared as? In Assembler (wash your mouth out
with soap :) ) at least those declarations were perforce neatly lined up
at the left margin. Now they may be buried levels deep in the code.




--
David R. Brooks <daveb@perth.DIALix.oz.au> Tel/fax. +61 9 434 4280
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.