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,f93e461e8491e322 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed-00.mathworks.com!kanaga.switch.ch!news-zh.switch.ch!switch.ch!cernne03.cern.ch!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: Limited_Controlled, orthogonality and related issues Date: Fri, 19 Jan 2007 08:38:40 +0100 Organization: CERN News Message-ID: References: <1169139744.717060.69070@51g2000cwl.googlegroups.com> <1169140582.275634.126300@51g2000cwl.googlegroups.com> NNTP-Posting-Host: abpc10883.cern.ch Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: cernne03.cern.ch 1169192320 5734 137.138.37.241 (19 Jan 2007 07:38:40 GMT) X-Complaints-To: news@@cern.ch NNTP-Posting-Date: Fri, 19 Jan 2007 07:38:40 +0000 (UTC) User-Agent: Thunderbird 1.5.0.9 (X11/20061220) In-Reply-To: Xref: g2news2.google.com comp.lang.ada:8310 Date: 2007-01-19T08:38:40+01:00 List-Id: Robert A Duff wrote: > Is this really a big problem that needs > fixing? It depends on the viewpoint. You might argue that adding a limited controlled property to the type should have been foreseen from the very beginning, not as an afterthought, and the experienced Ada developer should know that such types are tagged so that all operations can be written appropriately (ie. to use class-wide parameters) from the outset. But I would say that this is just "gotcha" - something that can scare off newcomers. It's hard to "fix" (whatever that means) - destructors should have been part of the object model from the very beginning. -- Maciej Sobczak : http://www.msobczak.com/ Programming : http://www.msobczak.com/prog/