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,8591be732d0fce98 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!news.musoftware.de!wum.musoftware.de!feeder.erje.net!news.osn.de!diablo1.news.osn.de!noris.net!news.teledata-fn.de!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Ada OOP alternatives? Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <462e0cf4-1d53-4918-b30b-dd3d8df90f1b@p25g2000hsf.googlegroups.com> <6e5uq2F5g7n6U2@mid.individual.net> <1y046u74vmwh3.19jm2fcdx5xpt.dlg@40tude.net> <5ob7w7usrc74$.kms2e1vqs4k0.dlg@40tude.net> <48883529$0$18826$9b4e6d93@newsspool2.arcor-online.net> <48883f41$0$18829$9b4e6d93@newsspool2.arcor-online.net> <6i1s0y8eeka.121ek9qcgunha$.dlg@40tude.net> <48885757$0$18818$9b4e6d93@newsspool2.arcor-online.net> <48899335$0$18824$9b4e6d93@newsspool2.arcor-online.net> <4889fe3a$0$18828$9b4e6d93@newsspool2.arcor-online.net> Date: Fri, 25 Jul 2008 19:55:46 +0200 Message-ID: <1xe1es04w7yvl$.5jjlwpcg4ui3$.dlg@40tude.net> NNTP-Posting-Date: 25 Jul 2008 19:55:50 CEST NNTP-Posting-Host: d98ebdc8.newsspool3.arcor-online.net X-Trace: DXC=<9O]HJQma>\U6b:FjPaGjQMcF=Q^Z^V3X4Fo<]lROoRQnkgeX?EC@@Pfb_UTX58giY[6LHn;2LCV^[PF_Z<\WX9j]D]S X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:1333 Date: 2008-07-25T19:55:50+02:00 List-Id: On Fri, 25 Jul 2008 18:24:26 +0200, Georg Bauhaus wrote: > Dmitry A. Kazakov schrieb: >> So, yes, an ADT, even if it is a singleton today. > > For what? I think that language theorists have ways to > associate a synthetic OO type with a singleton package > without loss. Sure. But the argument is to the code design. I used to have stateful packages, it *always* ended quite painfully. >> Only objects should have states. > > Yes, only objects can have states. I am assuming you mean that every > variable object of a scope other than the scope of an innermost > subprogram is evilly global? Yes, if mutable. > I see you disagree with state variables hidden in singleton package > bodies. Yep, I don't buy "package = class/object," a totally bogus idea. I am very glad that Ada 95 didn't go that way. > The weekend is near, I'll go for a walk if you don't mind. The summer seems to be arrived. I have thought it will never come... -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de