comp.lang.ada
 help / color / mirror / Atom feed
From: "Vladimir Olensky" <vladimir_olensky@yahoo.com>
Subject: Re: Looking for Ada Technique Name and References
Date: 2000/02/22
Date: 2000-02-22T00:00:00+00:00	[thread overview]
Message-ID: <sb4fq3e0r2a74@corp.supernews.com> (raw)
In-Reply-To: 88svc0$nkj$1@coward.ks.cc.utah.edu

 John Halleck <nahaj@u.cc.utah.edu> wrote in message
 news:88kh6q$j4j$1@coward.ks.cc.utah.edu...
 > > John Halleck (nahaj@u.cc.utah.edu) wrote:
 > > : I would appreciate it if someone could give me the name and a
 > > : print reference for the following technique.
 >
 >> Someone Replied:
 >>  It is called overloading.
 >

 >   It uses overloading, but that was not the technique I was trying

 >   to get accross.
 >
 >   The technique in question is turning the what is normally written
 >   as two function calls  (More or less:)
 >       "*" (Transpose (A), B)
 >   into a type mark and a single function call to a special function

>   that can handle it all more effeciently.


As a matter of fact the answer is contained in your original question.

Actually this is combination of two basic techniques and as such I do
not think that it has or should have any special name.  There would be
just not enough names to cover all possible combination of language
basic techniques.

In this case it is combination of object type marking (or view conversion
or type cast  - there are several terns for that )  with procedure
overloading.
Such view  conversion  in  some other systems  called simply as
"object logical view "  and this object is treated differently depending on
it's  current  logical view.

You have an matrix object and you mark it as transpose so that language
can choose appropriate  procedure  to handle matrix object  according
to it's  current view (or mark) .

In real life many things are done the same way but this happens without
paying special attention to that.


Regards,
Vladimir Olensky







  reply	other threads:[~2000-02-22  0:00 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <88kegp$iso$1@coward.ks.cc.utah.edu>
     [not found] ` <88kh6q$j4j$1@coward.ks.cc.utah.edu>
2000-02-18  0:00   ` Looking for Ada Technique Name and References Tucker Taft
2000-02-21  0:00   ` Diana Webster
2000-02-22  0:00     ` John Halleck
2000-02-22  0:00       ` Vladimir Olensky [this message]
2000-02-22  0:00         ` John Halleck
2000-02-22  0:00       ` tmoran
2000-02-22  0:00         ` David Starner
2000-02-23  0:00           ` tmoran
2000-02-23  0:00       ` Nick Roberts
2000-02-22  0:00         ` Jon S Anthony
2000-02-28  0:00           ` Charles D. Hixson
2000-02-28  0:00             ` Jon S Anthony
2000-02-29  0:00               ` Charles Hixson
2000-02-29  0:00                 ` Brian Rogoff
2000-02-29  0:00                   ` Jon S Anthony
2000-02-29  0:00                     ` Brian Rogoff
2000-02-29  0:00                       ` Jon S Anthony
2000-03-01  0:00                         ` Brian Rogoff
2000-03-01  0:00                           ` Jon S Anthony
2000-03-01  0:00                         ` Charles Hixson
2000-03-04  0:00                     ` Nick Roberts
2000-02-29  0:00                   ` Wes Groleau
2000-02-29  0:00                     ` Gautier
2000-03-01  0:00                       ` Wes Groleau
2000-02-22  0:00   ` Gautier
replies disabled

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