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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,1a52c822fc0dbb23 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!newsfeed2.telusplanet.net!newsfeed.telus.net!edtnps89.POSTED!023a3d7c!not-for-mail Sender: blaak@METROID Newsgroups: comp.lang.ada Subject: Re: Rational for not making cursor tagged in Containers References: <1176998738.656903.141250@q75g2000hsh.googlegroups.com> <1177010938.200523.325290@p77g2000hsh.googlegroups.com> <1a8y2vakorfhx.225uqh4hifpd$.dlg@40tude.net> From: Ray Blaak Message-ID: Organization: The Transcend User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 19 Apr 2007 23:59:13 GMT NNTP-Posting-Host: 208.66.252.228 X-Trace: edtnps89 1177027153 208.66.252.228 (Thu, 19 Apr 2007 17:59:13 MDT) NNTP-Posting-Date: Thu, 19 Apr 2007 17:59:13 MDT Xref: g2news1.google.com comp.lang.ada:15130 Date: 2007-04-19T23:59:13+00:00 List-Id: "Dmitry A. Kazakov" writes: > I think prefix notation is rubbish. There should be an abstract member > interface allowing users creation of whatever "members" they wished. So if > anybody liked prefix notation, he could say: Mumble implements ".Mumble." > Done. Why should the language do this by default? Because record types have prefix notation for fields, protected objects have them for subprograms and entries, tasks have them for entries. So the real question is, why *not* have them for tagged object methods. The typical OO languages encourage the obj.method notation, and this is useful when one thinks of an object as owning its behaviour, rather than the package/namespace it was declared. Now if you don't agree with this style of OO approach, then fortunately Ada allows the Method(obj) notation. It is the lack of the prefix notation that was probably the primary reason for turning me into an ex-Ada fanatic. -- Cheers, The Rhythm is around me, The Rhythm has control. Ray Blaak The Rhythm is inside me, rAYblaaK@STRIPCAPStelus.net The Rhythm has my soul.