comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <dont.bother.mcondic.auntie.spam@[acm.org>
Subject: Re: List container strawman 1.1
Date: Mon, 12 Nov 2001 10:24:33 -0500
Date: 2001-11-12T15:24:35+00:00	[thread overview]
Message-ID: <9sopjj$bar$1@nh.pace.co.uk> (raw)
In-Reply-To: x7v668hrpdz.fsf@smaug.pushface.org

"Simon Wright" <simon@pushface.org> wrote in message
news:x7v668hrpdz.fsf@smaug.pushface.org...
>
> It does rather go against the grain of the BCs, IMO, but I could add
> this (which does everything bar closed iteration). "Collection" is
> what everyone has been calling "List", BTW.  Almost all the operations
> could in fact be omitted in this package, because they are inherited,
> though one would have to "use" it to get at them easily and I suspect
> pedagogically one would prefer to see the operations. Just treat it as
> implementation inheritance.
>
It looks like it simplifies things quite a bit. I think that the more it
looks like what Ted was proposing, the more likely it is going to be an easy
alternative for the beginner and/or simple cases. Having glanced (see below)
at the BC instantiation thing, I can see where there is an objection to it
concerning simplicity and if this can be totally hidden for a plain-vanilla
case beneath some other package spec, I think newbies to it would be helped
considerably.

My impression from what I can see is that the BC's are a kind of
"Theoretically Pure" thing - an academic distilation of all the fundamental
behaviors and functionalities needed by a variety of data structures of
different shapes. This may provide some additional power and ability to
create new abstractions, but the poor bastard who just needs to pile up a
few employee records and step through them really doesn't care about the
intellectual niceties. He just wants a list he can get to quickly and
easily. That's why I'm suggesting an add-on that creates a shield from the
abstractions in the BC's while leaving the rest of it there in case someone
wants the more complex stuff.

>
> Has anyone had a chance to look at
> http://www.pushface.org/components/bc/case-study.html yet to see if
> I'm on anything like the right lines?
>
I gave it a cursory glance. Yes, I think that is on the right track - pick a
simple case and illustrate everything you need to do to get the job done.


>
> My first reaction was that if anyone can get their heads round Maps
> they should be able to do a couple of measly instantiations :-)

What do you mean "get their heads round Maps"? If we mean the same thing by
"Maps" I don't understand what is so complex?

generic
    type Index_Type is private ;
    type Item is private ;
    with function "<" (L, R: in Index_Type) is <> ;
package Maps is
    --
    --  Various types/procedures, etc. here that let you insert, delete,
retrieve
    --  and scan over things of type Item based on Index_Type. Your garden
    --  variety ISAM file in memory...
    --
end Maps ;


MDC
--
Marin David Condic
Senior Software Engineer
Pace Micro Technology Americas    www.pacemicro.com
Enabling the digital revolution
e-Mail:    marin.condic@pacemicro.com
Web:      http://www.mcondic.com/





  parent reply	other threads:[~2001-11-12 15:24 UTC|newest]

Thread overview: 90+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-02 20:29 List container strawman 1.1 Ted Dennison
2001-11-02 21:00 ` Larry Kilgallen
2001-11-02 21:08   ` Ted Dennison
2001-11-02 21:43     ` Larry Kilgallen
2001-11-02 21:20 ` Darren New
2001-11-02 23:33   ` Jeffrey Carter
2001-11-03  0:19     ` Darren New
2001-11-03  7:03   ` Ted Dennison
2001-11-02 21:45 ` Eric Merritt
2001-11-02 22:52   ` Larry Kilgallen
2001-11-03  7:09   ` Ted Dennison
2001-11-04  0:30   ` Nick Roberts
2001-11-05 12:40     ` Eric Merritt
2001-11-05 22:26       ` Nick Roberts
2001-11-05 23:28         ` Eric Merritt
2001-11-06 16:42           ` Nick Roberts
2001-11-06 17:24             ` Stephen Leake
2001-11-06 18:28               ` Eric Merritt
2001-11-06 22:17               ` Nick Roberts
2001-11-07 19:31                 ` Stephen Leake
2001-11-07 22:55                   ` Nick Roberts
2001-11-10  3:17                   ` Ted Dennison
2001-11-10  3:31                     ` Darren New
2001-11-13 16:47                       ` Stephen Leake
2001-11-13 17:21                         ` Darren New
2001-11-13 20:36                           ` Ted Dennison
2001-11-13 23:48                             ` Ben Place
2001-11-14  4:01                               ` Nick Roberts
2001-11-14 16:10                                 ` Jeffrey Carter
2001-11-14 19:12                                   ` Ted Dennison
2001-11-14 22:32                                   ` Jeffrey Carter
     [not found]                                   ` <_mzI7.24675 <3BF2F0E7.5DD40B4B@boeing.com>
2001-11-15  3:49                                     ` Nick Roberts
2001-11-10  3:07               ` Ted Dennison
2001-11-10 14:18               ` Florian Weimer
2001-11-13 16:48                 ` Stephen Leake
2001-11-06 18:21             ` Eric Merritt
2001-11-08 11:53               ` Simon Wright
2001-11-06 16:30       ` Darren New
2001-11-06 18:19         ` Eric Merritt
2001-11-04  4:55   ` Larry Hazel
     [not found] ` <3BE31DD5.FF96AFE0@san.rr.com>
2001-11-03  7:07   ` Ted Dennison
2001-11-03 18:59     ` Jeffrey Carter
2001-11-04 19:07       ` Darren New
2001-11-04 22:21         ` Jeffrey Carter
2001-11-04 23:43           ` James Rogers
2001-11-05 18:09           ` Darren New
2001-11-05 22:59             ` Jeffrey Carter
2001-11-04 20:56 ` Jean-Marc Bourguet
2001-11-05 20:00   ` Ted Dennison
2001-11-05 20:27     ` Darren New
2001-11-05 20:54       ` Ted Dennison
2001-11-05 22:30         ` Darren New
2001-11-08 10:50     ` Ehud Lamm
2001-11-05  9:53 ` Mike Ovenden
2001-11-05 14:37 ` Jean-Marc Bourguet
2001-11-05 20:03   ` Ted Dennison
2001-11-06  8:52     ` Jean-Marc Bourguet
2001-11-05 16:01 ` Marin David Condic
2001-11-05 20:06   ` Ted Dennison
2001-11-05 20:45     ` Marin David Condic
2001-11-08 10:54       ` Ehud Lamm
2001-11-08 19:30         ` Marin David Condic
2001-11-08 22:06           ` Nick Roberts
2001-11-10 18:15         ` Simon Wright
2001-11-11 21:33           ` Pascal Obry
2001-11-11 21:55             ` Ehud Lamm
2001-11-05 22:37   ` Nick Roberts
2001-11-09 15:51     ` Ted Dennison
2001-11-10  0:47       ` Nick Roberts
2001-11-06 12:38 ` Roy Bell
2001-11-08 10:56   ` Ehud Lamm
2001-11-08 18:08     ` Roy Bell
2001-11-09 15:55       ` Ted Dennison
2001-11-09 16:15         ` Ehud Lamm
2001-11-09 17:37         ` Marin David Condic
2001-11-09 22:24           ` Ehud Lamm
2001-11-11 15:39             ` Marin David Condic
2001-11-10  2:35           ` Ted Dennison
2001-11-10  4:03             ` Jeffrey Carter
2001-11-11 21:09               ` Simon Wright
2001-11-12  5:33                 ` Ted Dennison
2001-11-12 16:13                 ` Jeffrey Carter
2001-11-13  7:11                   ` Simon Wright
2001-11-11 15:45             ` Marin David Condic
2001-11-11 21:03           ` Simon Wright
2001-11-11 21:57             ` Ehud Lamm
2001-11-12 15:24             ` Marin David Condic [this message]
2001-11-13  7:06               ` Simon Wright
2001-11-13 21:21                 ` Marin David Condic
2001-11-13 16:55             ` Stephen Leake
replies disabled

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