Related articles |
---|
[7 earlier articles] |
Re: The semicolon habit (was: Q: Definition everettm@walters.East.Sun.COM (1995-05-11) |
Re: The semicolon habit (was: Q: Definition schrod@iti.informatik.th-darmstadt.de (1995-05-12) |
Re: The semicolon habit (was: Q: Definition anw@maths.nottingham.ac.uk (Dr A. N. Walker) (1995-05-16) |
Re: The semicolon habit (was: Q: Definition cef@geodesic.com (Charles Fiterman) (1995-05-17) |
Re: The semicolon habit (was: Q: Definition reid@HASKELL.SYSTEMSZ.CS.YALE.EDU (1995-05-16) |
Re: The semicolon habit (was: Q: Definition jan@neuroinformatik.ruhr-uni-bochum.de (1995-06-24) |
Re: The semicolon habit (was: Q: Definition tim@handel.Princeton.EDU (1995-06-24) |
Re: The semicolon habit (was: Q: Definition bevan@cs.man.ac.uk (1995-06-30) |
Re: The semicolon habit (was: Q: Definition cbloom@utxvms.cc.utexas.edu (1995-07-01) |
Re: The semicolon habit (was: Q: Definition plong@perf.com (Paul Long) (1995-07-05) |
Re: The semicolon habit (was: Q: Definition tim@debusy.Princeton.EDU (1995-07-05) |
Re: The semicolon habit (was: Q: Definition bertrand@eiffel.com (Bertrand Meyer) (1995-07-10) |
Re: The semicolon habit (was: Q: Definition jan@neuroinformatik.ruhr-uni-bochum.de (1995-07-13) |
Newsgroups: | comp.compilers |
From: | tim@handel.Princeton.EDU (Tim Hollebeek) |
Keywords: | syntax, design |
Organization: | Princeton University |
References: | 95-04-193 95-06-054 |
Date: | Sat, 24 Jun 1995 16:55:27 GMT |
Status: | RO |
Jan Vorbrueggen <jan@neuroinformatik.ruhr-uni-bochum.de> wrote:
>The basic argument about indentation-sensitive languages seems to be "it's
>difficult to keep track of". Well - so don't do that. You're using a computer,
>aren't you? Have your compiler support indentation properly. As a working
>example, use a folding editor on occam2 8-).
In that case, the same argument can be made _in favor_ of the
semicolon habit :) If, for example, you edit with emacs and
(setq c-auto-newline t), then you get automatic indenting and
formatting, and still have the flexibility to indent the
way you want when necessary. Languages that depend on
indentation get to be a pain as you
assymptotically approach the right margin. If
there is some token that specifies the end
of the line, you can format however
you want without losing the meaning.
I mean, why don't we eliminate
periods from English? If you
want to start a new sentence,
just start a new line
and capitalize.
Formatting enforced by the language is a bad idea.
---
Tim Hollebeek 'There will be a better sig when I have time'
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.