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

scooter@mccabe.mccabe.com (Scott Stanchfield)
Thu, 27 Apr 1995 13:21:23 GMT

          From comp.compilers

Related articles
Re: Q: Definition of a scripting lang. lwall@netlabs.com (1995-03-27)
The semicolon habit (was: Q: Definition of a scripting lang.) prechelt@i41s25.ira.uka.de (1995-04-11)
Re: The semicolon habit (was: Q: Definition of a scripting lang.) stidev@gate.net (1995-04-19)
Re: The semicolon habit (was: Q: Definition of a scripting lang.) cef@geodesic.com (Charles Fiterman) (1995-04-19)
Re: The semicolon habit (was: Q: Definition of a scripting lang.) ludemann@netcom.com (1995-04-28)
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)
[15 later articles]
| List of all articles for this month |
Newsgroups: comp.compilers
From: scooter@mccabe.mccabe.com (Scott Stanchfield)
Keywords: design
Organization: Clark Internet Services, Inc.
References: 95-04-013 95-04-147
Date: Thu, 27 Apr 1995 13:21:23 GMT

>[use indentation rather than { } to show block structure ]


Although I kind of agree, I think we run into _lots_ of trouble when different
editors use different tab stops, and different people use different tabs
in their style, and people use "expand" with a different tabstop than they
should.


My co-worker and I have been working on the same code. She uses emacs,
I use softedit. When she tabs, it gets expanded to 8 chars. Mine are set
at 4. On the screen when she's editing, all looks fine. When I start
editing something she was editing, things look very wrong.


On the other hand, I used to program on a mainframe, using ISPF as a user
interface. The display panels that we programmed used an indentation-sensitive
IF-THEN-ELSE structure. It was nice because it kept the panel logic shorter,
and forced a partcular style. (Can't say I really liked that style, though,
but it _was_ consistent.)


On the mainframe, tabs were a non-issue. On UNIX, I think they could cause
tons of grief.


Scott Stanchfield
McCabe & Associates
Columbia, Maryland
--


Post a followup to this message

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