comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Code Formatters
Date: 1996/11/08
Date: 1996-11-08T00:00:00+00:00	[thread overview]
Message-ID: <dewar.847456987@merv> (raw)
In-Reply-To: 1996Nov7.093526.555@inet2


Axel says

"Therefore I would like to work with a language where presentation is
normalised  (enforced by the editor) even if it's not as beautifull as
it may be."

Well that's a bit inconsistent, do you mean enforced by the language, as
implied by your first phrase, or enforced by the tools you are using (in
which case it has nothing to do with the language).

For a *language* that enforces style, COBOL comes closest probably, but
still leaves LOTS unsaid, and extensive coding standards are still needed.
I know of no *language* so tightly defined as to make auxiliary style
guidelines unnecessary.

Whatever language you are using, you need to work in an environment where
there are clear style rules that are consistently followed.

There are many ways of enforcing such rules (threat of firing people, social
pressure, job evaluation in genral, automatic editing tools, automatic
formatting tools, checks in the compiler etc.)

Of these, I prefer checks in the compiler (as we use in GNAT, with -gnatg)
but these are seldome more than very simple issues. I personally don't
like any editor that messes with me in any way (I hate templates or any
kind of on the fly fixup of what I type), but others really like editors
that help out (e.g. Ada mode in EMACS).





  reply	other threads:[~1996-11-08  0:00 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-28  0:00 Code Formatters Dave Smith
1996-10-29  0:00 ` Frank C. Post
1996-11-01  0:00 ` Mike Stark
1996-11-04  0:00   ` Robert Dewar
1996-11-05  0:00     ` Philip Brashear
1996-11-05  0:00       ` John English
1996-11-05  0:00   ` Ole-Hjalmar Kristensen FOU.TD/DELAB
1996-11-05  0:00     ` Robert Dewar
1996-11-05  0:00       ` Larry Kilgallen
1996-11-05  0:00         ` Robert Dewar
1996-11-06  0:00           ` Dave Smith
1996-11-06  0:00             ` Larry Kilgallen
1996-11-08  0:00               ` Robert Dewar
1996-11-06  0:00             ` Robert Dewar
1996-11-06  0:00   ` Mike Stark
1996-11-07  0:00   ` Axel Boness
1996-11-08  0:00     ` Robert Dewar [this message]
1996-11-09  0:00   ` Simon Wright
1996-11-12  0:00   ` Axel Boness
  -- strict thread matches above, loose matches on Subject: below --
1996-11-05  0:00 Marin David Condic, 561.796.8997, M/S 731-93
1996-11-14  0:00 Simon Johnston
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox