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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9fc9fc4716c48fb2 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed-fusi2.netcologne.de!news.netcologne.de!newsfeed-hp2.netcologne.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Thu, 12 Jun 2008 10:37:07 +0200 From: Georg Bauhaus Reply-To: rm.tsoh+bauhaus@maps.futureapps.de User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Interface specification in Ada References: <8bf0fc5b-3eac-4898-835c-93d40aca25e2@z66g2000hsc.googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4850e037$0$7543$9b4e6d93@newsspool1.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 12 Jun 2008 10:37:11 CEST NNTP-Posting-Host: 640d4015.newsspool1.arcor-online.net X-Trace: DXC=:C`T9@RAFPgPXlQ;h]GTMdic==]BZ:afn4Fo<]lROoRa<`=YMgDjhgbjKndh@]XiHaPCY\c7>ejVhF]P;];B;O4i:2\hbV0ibAb X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:669 Date: 2008-06-12T10:37:11+02:00 List-Id: Dennis Hoppe wrote: > Indeed Java relieves me of state "this". When I started writing Java many years ago, I too thought that like in the Java books, when I want to name an object's component it is not neccessary to refer to the object. So don't do that, leave out "this". But now I find myself writing "this.a" and "this.b" all the time, to make sure I can easily see what "a" actually stands for: does it name a component or does it name a method parameter or local variable? With "this" there is no question. There is almost never a question in Ada because you always name the object in some way.