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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.107.8.26 with SMTP id 26mr12124104ioi.27.1512337990197; Sun, 03 Dec 2017 13:53:10 -0800 (PST) X-Received: by 10.157.11.207 with SMTP id 73mr564567oth.2.1512337990105; Sun, 03 Dec 2017 13:53:10 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.kjsl.com!usenet.stanford.edu!i6no2312582itb.0!news-out.google.com!b73ni387ita.0!nntp.google.com!193no616182itr.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 3 Dec 2017 13:53:09 -0800 (PST) In-Reply-To: <2240ea85-c247-4097-9877-24ce32a47123@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2601:191:8303:2100:5985:2c17:9409:aa9c; posting-account=fdRd8woAAADTIlxCu9FgvDrUK4wPzvy3 NNTP-Posting-Host: 2601:191:8303:2100:5985:2c17:9409:aa9c References: <4db43571-7f86-4e73-8849-c41160927703@googlegroups.com> <6496a10f-c97e-4e42-b295-2478ad464b2f@googlegroups.com> <6106dfe6-c614-4fc1-aace-74bf8d7435e3@googlegroups.com> <102d4df8-d392-4100-9a37-c49705397e4e@googlegroups.com> <2240ea85-c247-4097-9877-24ce32a47123@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <597f151d-a8e6-49f6-82af-c171feb94b32@googlegroups.com> Subject: Re: Extending a third party tagged type while adding finalization From: Robert Eachus Injection-Date: Sun, 03 Dec 2017 21:53:10 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:49338 Date: 2017-12-03T13:53:09-08:00 List-Id: On Monday, November 27, 2017 at 1:37:22 PM UTC-5, AdaMagica wrote: =20 > It's really a problem that opens the gates of hell as I've written as an = intro. I wish I'd said that! There are some things that the human mind is not desi= gned to deal with day after day. I'd work on code that used finalization (= and derivation) for a day two, then come back to it next week. It was as b= ad as working with the SQL cursor in Ada code. Um, probably worse. > It can definitely only work for limited types. The problem here is that it can be made to work for non-limited types, but = you have to use handles to mix limited and non-limited types. See previous= line. I started thinking recently about how to do model, view, controller "right"= in Ada. My current conclusion is that we need a set of tools that can take= a model description (assume for now pure Ada) and (for example) a set of t= ests, the tools would then generate the display for the model and input sce= narios/scripts that created the test conditions. The original Ada model wo= uld get decorated (a lot) by the necessary input procedures and display fun= ctions.