comp.lang.ada
 help / color / mirror / Atom feed
From: Darren New <dnew@san.rr.com>
Subject: Re: Ada and pointers
Date: Fri, 17 Aug 2001 17:14:02 GMT
Date: 2001-08-17T17:14:02+00:00	[thread overview]
Message-ID: <3B7D50DA.ACED8299@san.rr.com> (raw)
In-Reply-To: kiaf7.4785$2u.48575@www.newsranger.com

Ted Dennison wrote:
> 
> In article <3B7BFB59.5BBAF07F@san.rr.com>, Darren New says...
> >
> >The other possibility is to encapsulate all the linked-list stuff
> >nicely, giving nice semantic-oriented interfaces, which is more of a
> >pain in C than it's worth in my case.
> 
> If you want to do that, you should probably look at the Ada booch components
> (although for a lot of people, its easier to write a limited array-based queue
> themselves than it is to find and figure out how to instantiate the proper booch
> component).

Actually, I meant it would be easy to encapsulate the linked-list stuff
in a semantically meaningful set of packages in Ada, whereas in C with
its poor namespace control and lack of generics and etc, it's just not
worth the effort.

Certainly, a routine to find the first item on the list whose X field is
less than the value Y is a lot easier to encapsulate in a general way in
Ada than C.

-- 
Darren New / Senior MTS & Free Radical / Invisible Worlds Inc.
San Diego, CA, USA (PST). Cryptokeys on demand. dnew@san.rr.com
           When was sliced bread invented?



  reply	other threads:[~2001-08-17 17:14 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-13  7:05 How Ada could have prevented the Red Code distributed denial of service attack Gautier Write-only-address
2001-08-15  7:19 ` Ada and pointers Tony Gair
2001-08-15 12:49   ` Hambut
2001-08-15 13:33     ` Marin David Condic
2001-08-15 12:57       ` Jonathan DeSena
2001-08-16  1:46         ` Tony Gair
2001-08-16 13:37           ` Marin David Condic
2001-08-16 15:43             ` Darren New
2001-08-16 16:29               ` James Rogers
2001-08-16 16:56                 ` Darren New
2001-08-17 14:58                   ` Ted Dennison
2001-08-17 17:14                     ` Darren New [this message]
2001-08-15 16:02       ` James Rogers
2001-08-15 17:16         ` Marin David Condic
2001-08-15 19:52           ` James Rogers
2001-08-15 21:00             ` Marin David Condic
2001-08-15 18:54       ` Hambut
2001-08-15 19:53         ` Marin David Condic
2001-08-16  8:25           ` Hambut
2001-08-15 16:25     ` Warren W. Gay VE3WWG
2001-08-15 13:37   ` Ted Dennison
replies disabled

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