comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Will "renames" increase program size?
Date: Thu, 16 Jun 2011 20:53:57 +0200
Date: 2011-06-16T20:53:57+02:00	[thread overview]
Message-ID: <welpqz29i316$.10qazzjvlklcp$.dlg@40tude.net> (raw)
In-Reply-To: f6f13e97-5a4b-4ee9-903b-f6b7f539359a@e17g2000prj.googlegroups.com

On Thu, 16 Jun 2011 10:42:01 -0700 (PDT), Adam Beneschan wrote:

> you seem to
> be defining terms with regard to how you see the world and what
> pictures go on in your head when you think about a program's
> semantics.

How could it be otherwise?

> So in this context, I can kind of understand why you'd
> think of a "return object" as somehow belonging inside the function
> and thus being a separate object from the object that holds the
> function result from the caller's point of view.  And in this view,
> sure, there would be a copy.  But all this is just based on how you
> see the world, not on anything objective.  The only really objective
> definitions we have here are the ones given by the RM.

How would you define a "language design bug" based on the RM itself?

Renaming in Ada has problems with its semantics, same is true for the
return statement, in my opinion. This opinion cannot be based on the RM. It
is based on an interpretation of the RM in some much wider context. Call it
confusion or common sense, no matter. You might think that in your opinion
Ada's renaming is just perfect. But exactly like mine your opinion is also
based on your world view rather than on the RM.

It would be useless to discuss Ada's concept of renaming (or function
result, or anything else) in the terms of the RM, because in this context
it neither right or wrong, it just is as it is.

> I can understand why you might look at things differently; but
> it's hard for me to see how any conclusions that you draw, that are
> based on your own meanings of the terms derived from your own pictures
> of the world, are going to be of much use to anyone else.

It is good enough to me, that you can understand why I see problems with
renaming.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2011-06-16 18:53 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-15  2:10 Will "renames" increase program size? Adrian Hoe
2011-06-15  5:37 ` Randy Brukardt
2011-06-15  9:11   ` AdaMagica
2011-06-15 11:26     ` Yannick Duchêne (Hibou57)
2011-06-15 11:24   ` Yannick Duchêne (Hibou57)
2011-06-15 13:15     ` Dmitry A. Kazakov
2011-06-16  6:59       ` AdaMagica
2011-06-16  8:59         ` Dmitry A. Kazakov
2011-06-16 10:18           ` AdaMagica
2011-06-16 12:15             ` Dmitry A. Kazakov
2011-06-16 23:22             ` Randy Brukardt
2011-06-16 15:40           ` Adam Beneschan
2011-06-16 16:33             ` Dmitry A. Kazakov
2011-06-16 17:42               ` Adam Beneschan
2011-06-16 18:53                 ` Dmitry A. Kazakov [this message]
2011-06-16 23:39                   ` Randy Brukardt
2011-06-17  6:53                     ` Dmitry A. Kazakov
2011-06-18  0:02                       ` Randy Brukardt
2011-06-18  7:54                         ` Dmitry A. Kazakov
2011-06-18  8:58                           ` Yannick Duchêne (Hibou57)
2011-06-18 10:05                             ` Dmitry A. Kazakov
2011-06-18 12:49                               ` Yannick Duchêne (Hibou57)
2011-06-18 22:44                           ` Randy Brukardt
2011-06-22  0:56                             ` Shark8
2011-06-15 22:21 ` 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