comp.lang.ada
 help / color / mirror / Atom feed
From: Britt Snodgrass <britt.snodgrass@gmail.com>
Subject: Re: N best things about Ada?
Date: Tue, 13 Jul 2010 20:00:29 -0700 (PDT)
Date: 2010-07-13T20:00:29-07:00	[thread overview]
Message-ID: <8758b63b-ef81-4613-8abd-4af68aeb68a4@c33g2000yqm.googlegroups.com> (raw)
In-Reply-To: i1j2nd$gt4$1@news.eternal-september.org

On Jul 13, 8:12 pm, BrianG <briang...@gmail.com> wrote:

>
> I've always wondered - what would these languages do with a program the
> has a mix of space-for-indent and tab-for-indent?  Assuming that can
> even happen.
>
> I'm constantly running into these, because of different people editing
> using different editors.  Usually it's someone else's, where they didn't
> notice that the published final code looks terrible (obviously not in
> Python).

With GNAT and the -gnatyh switch, the compiler will issue a warning if
it encounters tabs in source code.  Our coding standard "requires"
users to set the "convert tabs to spaces" and the "trim trailing
spaces" settings in whatever editor they use (usually GPS, GNATbench,
or UltraEdit)

We also use the ASIS based gnatcheck (coding standard checker) and
gnatpp (pretty printer) to check and standardize source code format
for our Ada projects. I suspect other languages don't have such good
utilities since they have no equivalent to ASIS (that I'm aware of).

>
> Is F# a version of Fortran for .Net?  :-)  (Like A#.)  Or is it Forth?
>

Neither. It seems to be Microsoft's attempt at yet another functional
language (YAFL).

- Britt





  reply	other threads:[~2010-07-14  3:00 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-09  0:52 N best things about Ada? usenet
2010-07-09  1:23 ` Britt Snodgrass
2010-07-13 19:05   ` Pascal Obry
2010-07-13 19:26     ` Nasser M. Abbasi
2010-07-14  1:12       ` BrianG
2010-07-14  3:00         ` Britt Snodgrass [this message]
2010-07-14  3:52           ` Shark8
2010-07-14 19:08         ` Simon Wright
2010-07-09  2:19 ` Jeffrey R. Carter
2010-07-09  3:08 ` anon
2010-07-09  8:29   ` tonyg
2010-07-10  5:14     ` anon
2010-07-09  9:18 ` Alex R. Mosteo
2010-07-09 11:52 ` John McCormick
2010-07-09 17:27   ` (see below)
2010-07-12 14:05 ` Shark8
2010-07-12 15:13   ` Robert A Duff
2010-07-12 16:14     ` Shark8
2010-07-12 19:44     ` Simon Wright
2010-07-12 21:06   ` Nasser M. Abbasi
2010-07-13 16:18 ` Warren
2010-07-13 17:21   ` Georg Bauhaus
2010-07-13 17:34     ` Warren
2010-07-13 17:51   ` Jeffrey R. Carter
2010-07-14 18:46     ` Georg Bauhaus
2010-07-14  4:11 ` usenet
2010-07-17  1:18 ` Gautier write-only
replies disabled

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