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.1 required=5.0 tests=BAYES_00,PDS_OTHER_BAD_TLD autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,21960280f1d61e84 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!news4.google.com!news2.volia.net!solnet.ch!solnet.ch!news-zh.switch.ch!switch.ch!news.ip-plus.net!newsfeed.ip-plus.net!news.post.ch!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: GC in Ada Date: Fri, 09 Feb 2007 14:37:43 +0100 Organization: Swisscom IP+ (post doesn't reflect views of Swisscom) Message-ID: <45cc7927$1@news.post.ch> References: <1169636785.504223.139630@j27g2000cwj.googlegroups.com> <3pejpgfbki.fsf@hod.lan.m-e-leypold.de> <45c99c24$1@news.post.ch> <45c9bdb8$1@news.post.ch> <45cad095$1@news.post.ch> NNTP-Posting-Host: 194.41.146.1 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: atlas.ip-plus.net 1171028266 1208 194.41.146.1 (9 Feb 2007 13:37:46 GMT) X-Complaints-To: abuse@ip-plus.net NNTP-Posting-Date: Fri, 9 Feb 2007 13:37:46 +0000 (UTC) User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) In-Reply-To: X-Original-NNTP-Posting-Host: w01iwt.pnet.ch X-Original-Trace: 9 Feb 2007 14:37:43 +0200, w01iwt.pnet.ch Xref: g2news2.google.com comp.lang.ada:9189 Date: 2007-02-09T14:37:43+01:00 List-Id: Markus E Leypold schrieb: >> Only Java has no const keyword. It is supposed to get one but how long >> until it is actually used? > > Excuse me, but ... "a read only interface" means: > > (a) make all field of objects private > (b) allow access only my methods > (c) provide only Get_*-methods, no Set_*-methods you mean as in: java.lang.Date get_Date () { return this.date; } True enough, with a Get_*-method like this you never need a Set_*-method ;-). Martin