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.7 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM,REPLYTO_WITHOUT_TO_CC 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.189.233 with SMTP id gl9mr3537684pbc.8.1323913033292; Wed, 14 Dec 2011 17:37:13 -0800 (PST) Path: lh20ni23504pbb.0!nntp.google.com!news1.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: "Rego, P." Newsgroups: comp.lang.ada Subject: Re: Pop function Date: Wed, 14 Dec 2011 17:35:07 -0800 (PST) Organization: http://groups.google.com Message-ID: <30092575.120.1323912907099.JavaMail.geo-discussion-forums@yqja5> References: <27517259.83.1323907586856.JavaMail.geo-discussion-forums@yqgn9> Reply-To: comp.lang.ada@googlegroups.com NNTP-Posting-Host: 189.18.155.47 Mime-Version: 1.0 X-Trace: posting.google.com 1323913033 12192 127.0.0.1 (15 Dec 2011 01:37:13 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 15 Dec 2011 01:37:13 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=189.18.155.47; posting-account=TRgI1QoAAABSsYi-ox3Pi6N-JEKKU0cu User-Agent: G2/1.0 X-Google-Web-Client: true Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2011-12-14T17:35:07-08:00 List-Id: > Your public interface should never use access types. > Anonymous types are a bad idea. Why so does the language allow it? Currently I could not think a better way= of running over a pointer list: get the item, run the top of the list to t= he next one (and also keep the original pointer), free the original pointer= and return the (newest) pointer to the top of the list. The problem I got = was exactly when I tried to do this directly from the input access (so the = anonymous type problem) > 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 st= art with the same few letters ("T_"), you are making your code harder to re= ad than necessary. I agree, but that's ok here. Think this as "be a general list type named T_= List ..."