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=0.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,75f02dbbddbbdc88 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.75.170 with SMTP id d10mr3382756pbw.6.1323909299241; Wed, 14 Dec 2011 16:34:59 -0800 (PST) Path: lh20ni23339pbb.0!nntp.google.com!news2.google.com!news1.google.com!news.glorb.com!news.netfront.net!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: Pop function Date: Wed, 14 Dec 2011 17:34:57 -0700 Organization: Also freenews.netfront.net; news.tornevall.net Message-ID: References: <27517259.83.1323907586856.JavaMail.geo-discussion-forums@yqgn9> NNTP-Posting-Host: 97.224.152.136 Mime-Version: 1.0 X-Trace: adenine.netfront.net 1323909298 28501 97.224.152.136 (15 Dec 2011 00:34:58 GMT) X-Complaints-To: news@netfront.net NNTP-Posting-Date: Thu, 15 Dec 2011 00:34:58 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110922 Thunderbird/3.1.15 In-Reply-To: <27517259.83.1323907586856.JavaMail.geo-discussion-forums@yqgn9> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Date: 2011-12-14T17:34:57-07:00 List-Id: On 12/14/2011 05:06 PM, Rego, P. wrote: A few unrelated comments: > Is it right to implement a pop function like the following? (Free is an Unchecked_Deallocation) > function Pop (Sender : access T_List) return Integer is Your public interface should never use access types. Anonymous types are a bad idea. Psychologists have found that the 1st few letters of a word are the most important to recognizing what you're seeing. If many of your identifiers start with the same few letters ("T_"), you are making your code harder to read than necessary. -- Jeff Carter "English bed-wetting types." Monty Python & the Holy Grail 15 --- Posted via news://freenews.netfront.net/ - Complaints to news@netfront.net ---