From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,4ac6c27957bfd114,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!diablo.voicenet.com!204.59.152.222.MISMATCH!newsfeed.yul.equant.net!newsfeed.uk.prserv.net!prserv.net!news.freedom2surf.net!not-for-mail From: Simon Smith Newsgroups: comp.lang.ada Subject: What is the point of Private? Date: Fri, 29 Apr 2005 00:22:23 +0100 Organization: freedom2surf Message-ID: NNTP-Posting-Host: i-195-137-62-42.freedom2surf.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.freedom2surf.net 1114730427 23842 195.137.62.42 (28 Apr 2005 23:20:27 GMT) X-Complaints-To: abuse@freedom2surf.net NNTP-Posting-Date: Thu, 28 Apr 2005 23:20:27 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Xref: g2news1.google.com comp.lang.ada:10791 Date: 2005-04-29T00:22:23+01:00 List-Id: 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