comp.lang.ada
 help / color / mirror / Atom feed
From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: Pondering what rationale behind record type
Date: Thu, 19 May 2011 11:50:37 +0200
Date: 2011-05-19T11:50:37+02:00	[thread overview]
Message-ID: <ir2p5d$g7a$1@dont-email.me> (raw)
In-Reply-To: <e49186b6-9c80-4788-a64f-dd9aba151f02@u26g2000vby.googlegroups.com>

Le 09/05/2011 19:47, Anh Vo a �crit :
> Some time I am wondering why record type has different syntax pattern
> than the rest with respect to type ending text. That is it ends with
> 'end record;' no matter what the identifier is. The rest of others end
> with 'end identifier'. 
'if' ends with 'end if', 'loop' ends with 'end loop'... Granted, if the
loop is named, then it ends with 'end loop L'. So, maybe the perfect
solution would be 'end record Rec' - but some would find that too much.

TBH, there is not always a strong rationale to issues related with
concrete syntax. It reflects the feeling, ideas, and sense of aesthetic
of the design team. These may vary with people, but also over time: in
the 80s, it was considered good practice to have variables in all caps,
now it is regarded as shouting.

-- 
---------------------------------------------------------
           J-P. Rosen (rosen@adalog.fr)
Adalog a d�m�nag� / Adalog has moved:
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00



  parent reply	other threads:[~2011-05-19  9:50 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-09 17:47 Pondering what rationale behind record type Anh Vo
2011-05-09 18:59 ` Adam Beneschan
2011-05-09 19:51   ` Niklas Holsti
2011-05-09 20:02     ` Dmitry A. Kazakov
2011-05-09 20:12       ` Anh Vo
2011-05-09 22:03         ` Georg Bauhaus
2011-05-10  7:45           ` Dmitry A. Kazakov
2011-05-10 10:12             ` Georg Bauhaus
2011-05-10 12:08               ` Dmitry A. Kazakov
2011-05-10 12:18                 ` Georg Bauhaus
2011-05-10 12:50                   ` Dmitry A. Kazakov
2011-05-10 14:20                     ` Martin
2011-05-11  7:32                       ` Dmitry A. Kazakov
2011-05-11  2:28                     ` Shark8
2011-05-11  7:32                       ` Dmitry A. Kazakov
2011-05-18 22:55                         ` Shark8
2011-05-19  8:12                           ` Dmitry A. Kazakov
2011-05-09 20:49   ` Randy Brukardt
2011-05-19  9:50 ` J-P. Rosen [this message]
2011-05-20  6:10 ` anon
replies disabled

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