comp.lang.ada
 help / color / mirror / Atom feed
From: Eryndlia Mavourneen <eryndlia@gmail.com>
Subject: Re: T'Interface attribute
Date: Thu, 3 Aug 2017 10:27:49 -0700 (PDT)
Date: 2017-08-03T10:27:49-07:00	[thread overview]
Message-ID: <f647e80e-7171-47be-83f2-f68eb68cb2f2@googlegroups.com> (raw)
In-Reply-To: <olu9ru$r1g$1@franka.jacob-sparre.dk>

On Wednesday, August 2, 2017 at 11:46:56 PM UTC-5, Randy Brukardt wrote:
> 
> P.S. And as always, explain the problem to be solved as well as the possible 
> solution. That is always necessary to understand the value of a proposal.
> 
> P.P.S. I personally have never seen a real-world example where an interface 
> actually helps. There's lots and lots of book examples and show examples and 
> so on, but in practice you end up with only a single implementation so there 
> really is nothing gained by involving a lot of dispatching calls. Ergo, I'm 
> against anything (new) involving interfaces. YMMV.

I use task interfaces in the case in which I have a basic task design that has certain core functionality and additionally may have any of a variety of other functionalities, too.  At the point at which I am ready to consolidate the interfaces into a specific kind of task, combining the interfaces, which already have declared the necessary entries (as procedures), becomes akin to building using Legos.

I find this kind of construction most pleasurable to design and implement.  It also is easy to understand.


  parent reply	other threads:[~2017-08-03 17:27 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-02 13:43 T'Interface attribute Dmitry A. Kazakov
2017-08-02 14:23 ` Eryndlia Mavourneen
2017-08-03 12:52   ` Dmitry A. Kazakov
2017-08-03  4:46 ` Randy Brukardt
2017-08-03  7:26   ` Dmitry A. Kazakov
2017-08-04 23:51     ` Randy Brukardt
2017-08-05  7:49       ` Dmitry A. Kazakov
2017-08-07 22:59         ` Randy Brukardt
2017-08-08  6:13           ` Dmitry A. Kazakov
2017-08-09  0:38             ` Randy Brukardt
2017-08-09  7:06               ` Dmitry A. Kazakov
2017-08-09 23:03                 ` Randy Brukardt
2017-08-10  7:13                   ` Dmitry A. Kazakov
2017-08-11  0:33                     ` Randy Brukardt
2017-08-11  6:55                       ` Dmitry A. Kazakov
2017-08-11 20:49                         ` Randy Brukardt
2017-08-03 17:27   ` Eryndlia Mavourneen [this message]
2017-08-05  0:09     ` Randy Brukardt
2017-08-05 19:02       ` Eryndlia Mavourneen
2017-08-07 22:49         ` Randy Brukardt
replies disabled

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