comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: a question of form
Date: Tue, 26 Aug 2014 00:08:37 +0200
Date: 2014-08-26T00:08:37+02:00	[thread overview]
Message-ID: <87bnr89q8q.fsf@ludovic-brenta.org> (raw)
In-Reply-To: ltg7u3$1dk$1@dont-email.me

Simon Clubley writes on comp.lang.ada:
> On 2014-08-25, gdotone@gmail.com wrote:
>> reading Ada 95 second edition, by feldman and koffman, the authors
>> suggest that all reserve words be in caps and identifiers start with a
>> capital letter, etc...
>>
>> the authors do note that Ada is not case sensitive.
>>
>> what is the general place in the real world of program form today?
>>
>
> Upper case keywords are as ugly in Ada as they are in Oberon (it's one
> of the things about Oberon I don't like.)
>
> Lower case keywords for me and This_Is_An_Identifier or
> this_is_an_identifier type identifiers but _never_ ThisIsAnIdentifier.
> I regard the latter as not as easy to read as using underscores.

The Ada 95 Quality and Style Guide establishes the closest thing to a
standard as far as source text formatting goes.  I just noticed a new
and updated version on Wikibooks:

https://en.wikibooks.org/wiki/Ada_Style_Guide

Thanks to the authors of this Wikibook!

-- 
Ludovic Brenta.

  reply	other threads:[~2014-08-25 22:08 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-25 20:33 a question of form gdotone
2014-08-25 20:56 ` Simon Clubley
2014-08-25 22:08   ` Ludovic Brenta [this message]
2014-08-26  1:06     ` gdotone
2014-08-26  7:04 ` Nasser M. Abbasi
2014-08-26 17:31   ` Jeffrey Carter
2014-08-27  5:00     ` Randy Brukardt
2014-08-27  7:17       ` AdaMagica
2014-08-28 11:56         ` G.B.
2014-08-28 13:23           ` Simon Wright
2014-08-28 14:08             ` G.B.
2014-08-28 19:26             ` Randy Brukardt
2014-08-28 20:19               ` Simon Wright
2014-08-28 20:48                 ` Simon Wright
2014-08-28 18:28           ` Jeffrey Carter
2014-08-28 19:35             ` Randy Brukardt
2014-08-29 11:55               ` G.B.
replies disabled

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