comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@gnat.com (Robert Dewar)
Subject: Re: Attributes 'Version and 'Body_Version
Date: 28 Nov 2001 19:49:49 -0800
Date: 2001-11-29T03:49:49+00:00	[thread overview]
Message-ID: <5ee5b646.0111281949.7032e04b@posting.google.com> (raw)
In-Reply-To: 5ee5b646.0111280749.77fabe6c@posting.google.coOrganization: LJK Software <PFcoNrf74AeG@eisner.encompasserve.org

Kilgallen@SpamCop.net (Larry Kilgallen) wrote in message news:<PFcoNrf74AeG@eisner.encompasserve.org>...
> But going to a newer version of the same vendor's 
> compiler
> is something programmers expect to be effortless.  If
> that vendor implements a new language-defined attribute
> rather than its former implementation-defined attribute
> which had the same name, the expectation might not be
> realized.

If they expect this for going from a vendors compiler for
one Ada standard to its successor, they are fooling themselves. Easy
yes, effortless no. I remember the project
manager for the old ATC system saying that she expected
to be able to move from Ada 83 to Ada 95 without changing
a single character of source and I shook my head ...
 

> The sort of approach I would have expected would be a
> division of the namespace.  VMS linker (and other) 
> namespace
> segregation is done with a dollar sign.  Not that a 
> dollar
> sign is appropriate for Ada, but I would expect some area
> set aside into which the language-defined attributes will
> not trespass in the future.

Why?
This has not been a problem in practice.
Why solve problems that do not exist, when the result would
be to degrade readability. 

It is really useful that the assert pragma in GNAT has this
name and not something like Implementation_Assert or somesuch junk. 

If there is an Ada 0x, and if it includes Assert, and if
it (surprisingly) is not upwards compatible with the GNAT
pragma, then it is annoying but not disastrous to have to
run a trivial script to change the name of pragma Asserts.



  parent reply	other threads:[~2001-11-29  3:49 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-06 20:58 Attributes 'Version and 'Body_Version Marin David Condic
2001-11-07  3:39 ` Robert Dewar
2001-11-07 15:08   ` Marin David Condic
2001-11-07 20:51   ` Tony Gair
2001-11-07 16:45     ` Marin David Condic
2001-11-07 18:32       ` Vincent Marciante
2001-11-07 19:00         ` Marin David Condic
2001-11-07 23:11           ` Robert Dewar
2001-11-08 17:28             ` Stephen Leake
2001-11-08 17:43               ` Larry Kilgallen
2001-11-08 19:03                 ` Marin David Condic
2001-11-08 19:37                   ` Larry Kilgallen
2001-11-09  3:50                   ` Robert Dewar
2001-11-09  3:55                   ` Robert Dewar
2001-11-08 18:55             ` Marin David Condic
2001-11-07 19:54       ` Larry Kilgallen
2001-11-07 21:49         ` Marin David Condic
2001-11-07 23:08     ` Robert Dewar
2001-11-07 22:04 ` Keith Thompson
2001-11-08 16:34   ` Frank
2001-11-09  3:53   ` Robert Dewar
2001-11-10  0:07     ` Keith Thompson
2001-11-10  2:16       ` Larry Kilgallen
2001-11-11 15:18         ` Marin David Condic
2001-11-12 23:06           ` Tony Gair
2001-11-12 21:51       ` Robert Dewar
2001-11-13  8:07         ` Keith Thompson
2001-11-25 20:49           ` Nick Roberts
2001-11-26  2:30             ` Robert Dewar
2001-11-26  3:31               ` Nick Roberts
2001-11-26 15:42                 ` Robert Dewar
2001-11-26 20:05                   ` Nick Roberts
2001-11-27  3:56                     ` Robert Dewar
2001-11-27 17:51                       ` Nick Roberts
2001-11-28  0:44                       ` Larry Kilgallen
2001-11-28 15:49                         ` Robert Dewar
2001-11-28 16:53                         ` Larry Kilgallen
     [not found]                         ` <5ee5b646.0111280749.77fabe6c@posting.google.coOrganization: LJK Software <PFcoNrf74AeG@eisner.encompasserve.org>
2001-11-29  3:49                           ` Robert Dewar [this message]
2001-11-29 11:52                           ` Larry Kilgallen
     [not found]                           ` <5ee5b646.0111Organization: LJK Software <Kg7U2sTGDFyI@eisner.encompasserve.org>
2001-11-30  2:26                             ` Robert Dewar
2001-11-30  2:55                               ` Larry Kilgallen
2001-11-27 17:04                     ` Georg Bauhaus
replies disabled

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