comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <jrcarter@acm.org>
Subject: Re: Can you use arrays from another package ?
Date: Wed, 22 May 2002 01:47:15 GMT
Date: 2002-05-22T01:47:15+00:00	[thread overview]
Message-ID: <3CEAF892.4909B967@acm.org> (raw)
In-Reply-To: dstanbro-23D11A.09373422052002@mec2.bigpond.net.au

Dale Stanbrough wrote:
> 
> A big mistake that people make it to treat packages as
> objects - a good way to view them is just as a place where
> type declarations and subprograms go.
> (this is not quite the only way to view them, but it's a
> good first step).

I disagree. I think it's good to treat packages as objects. However,
it's important to remember that the data in objects must be hidden.
Thus, the visible specification of an object implemented as a package
contains only type declarations, constant declarations, subprogram
specifications, and comments.

-- 
Jeff Carter
"I blow my nose on you."
Monty Python & the Holy Grail



  reply	other threads:[~2002-05-22  1:47 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-21 22:28 Can you use arrays from another package ? Jon
2002-05-21 23:31 ` tmoran
2002-05-21 23:37 ` Dale Stanbrough
2002-05-22  1:47   ` Jeffrey Carter [this message]
2002-05-22  6:13   ` Adrian Hoe
2002-05-22  1:52 ` Robert Dewar
2002-05-22 12:11   ` Jon
2002-05-22 12:36     ` Preben Randhol
2002-05-22 15:16       ` Jon
2002-05-22 19:17         ` Preben Randhol
2002-05-22 22:22       ` Robert Dewar
2002-05-24  4:17         ` Richard Riehle
2002-05-24 13:41           ` Larry Kilgallen
2002-06-01 11:19           ` Georg Bauhaus
2002-05-24 10:07         ` John English
replies disabled

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