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,5c89acd494ea9116 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Self pointer in limited record 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: <1183577468.034566.57830@n60g2000hse.googlegroups.com> <46d968ee$0$30368$9b4e6d93@newsspool4.arcor-online.net> <137iu0lr82dtb$.wqy3zjz2vr9q.dlg@40tude.net> <46d972e8$0$30384$9b4e6d93@newsspool4.arcor-online.net> <1alyfwaig93sk$.99oy269uon$.dlg@40tude.net> <46d9c138$0$4531$9b4e6d93@newsspool3.arcor-online.net> <1rt8kdcrj6tf.1qgvycc6vh357$.dlg@40tude.net> <46db2bf4$0$7699$9b4e6d93@newsspool2.arcor-online.net> <1188816674.2630.25.camel@kartoffel.vocalweb.de> <9cdmw7k85sey.85sb2t1bjefy$.dlg@40tude.net> <1mbajw59c3eir.jyl8bdp6qvj8.dlg@40tude.net> <1188850449.2630.60.camel@kartoffel.vocalweb.de> <1aza6nzawgcnm.sf76q4dvzw4n$.dlg@40tude.net> <46de8897$0$16115$9b4e6d93@newsspool1.arcor-online.net> <15hzyyy3soem0.12hn79bwy27zt$.dlg@40tude.net> <1189017071.2630.246.camel@kartoffel.vocalweb.de> Date: Thu, 6 Sep 2007 11:48:32 +0200 Message-ID: <1eo7rw4ruzitv$.11oxozqw070fo.dlg@40tude.net> NNTP-Posting-Date: 06 Sep 2007 11:48:00 CEST NNTP-Posting-Host: 3b0aa532.newsspool3.arcor-online.net X-Trace: DXC=`3i=:EF:JS7T2Rfi62kEV?<[ On Thu, 06 Sep 2007 11:14:43 +0200, Markus E L wrote: > "Dmitry A. Kazakov" wrote: > >> (I have no respect to singletons. They might have some sacral meaning for >> some OO proponents, but that was always beyond my understanding.) > > What about your filesystem? You pass around a filesystem object to all > functions that use a filesystem? I do File_Type. > And a console object to all those that use a console? Is it Standard_Error or Standard_Output today? (:-)) Though, if I correctly understand the idea beyond your examples, they refer to the computational environment. If so, then it is not an object and it cannot be an object. It does not belong to the solution space, it is where that space exists = another language, outside. The part of computational environment which can be expressed in the language immediately looses it magical singleton properties. (DRM guys have a problem... (:-)) -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de