From: Simon Smith <Simon@skcs.co.uk>
Subject: What is the point of Private?
Date: Fri, 29 Apr 2005 00:22:23 +0100
Date: 2005-04-29T00:22:23+01:00 [thread overview]
Message-ID: <d4rr3r$n92$1@news.freedom2surf.net> (raw)
Hi,
I am a student at Glasgow uni in the UK and have been writing ada
programs for my first two years of my course.
I have used and still do use private, eg
type Hash_Array is private;
blah...blah...
private
type Hash_Array is array (Integer range 0 .. 25) of Sc.Set;
end hash.ads;
however I dont really understand the point of it.
Why is it there? I am sure I have heard talk that its to stop the client
from seeing exactly how the data is stored/manipulated however if people
really did want to know this wouldn't they just scroll down the ada spec
file and find out for themselves or am I missing something here?
Simon
next reply other threads:[~2005-04-28 23:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-28 23:22 Simon Smith [this message]
2005-04-28 23:40 ` What is the point of Private? Ed Falis
2005-04-29 3:14 ` Jeffrey Carter
2005-04-29 9:07 ` Peter Amey
2005-04-30 3:27 ` Jeffrey Carter
2005-04-30 0:49 ` chris
2005-05-01 22:57 ` Simon Smith
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox