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.36.148.132 with SMTP id j126mr3805416ite.27.1512399568066; Mon, 04 Dec 2017 06:59:28 -0800 (PST) X-Received: by 10.157.85.67 with SMTP id h3mr669187oti.10.1512399567985; Mon, 04 Dec 2017 06:59:27 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.kjsl.com!usenet.stanford.edu!i6no2781685itb.0!news-out.google.com!s63ni3458itb.0!nntp.google.com!i6no2781681itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 4 Dec 2017 06:59:27 -0800 (PST) In-Reply-To: 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> <597f151d-a8e6-49f6-82af-c171feb94b32@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Extending a third party tagged type while adding finalization From: Robert Eachus Injection-Date: Mon, 04 Dec 2017 14:59:28 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:49352 Date: 2017-12-04T06:59:27-08:00 List-Id: On Monday, December 4, 2017 at 2:58:25 AM UTC-5, Dmitry A. Kazakov wrote: > You mean MVC using all static object? I don't think that is possible=20 > with or without tools. No, I mean/meant to have it possible to write the model, view, and controll= er separately, then have a tool combine the three aspects. So the controll= er could be used to do multiple changes, then a call to run causes an initi= al call to display. The controller will also make calls to display, as will= the model from time to time (modeled time in a simulation, or test harness= ). The goal is not only to make it easier for the programmer to think about th= e different aspects while programming them, but to minimize the scaffolding= that the programmer must write. Done well, the view mode would use defaul= t values for display objects and it would be possible for the programmer/us= er to move things around, resize them, change fonts and colors, and save al= l this in a config file. >=20 > Then I don't see how finalization might be relevant here. MVC requires=20 > handling dependencies, best in the form of strong and weak references=20 > between the actors. That works perfectly well in Ada, actually. I don't= =20 > remember any problems implementing MVC or binding to MVC implementations= =20 > (e.g. from GTK).