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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,3ed4c57426e16006 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!k10g2000yqa.googlegroups.com!not-for-mail From: Gautier write-only Newsgroups: comp.lang.ada Subject: Re: GtkAda using Glade Date: Sat, 21 May 2011 23:22:54 -0700 (PDT) Organization: http://groups.google.com Message-ID: <1eff61c4-2959-4583-82b8-d5518a97ef93@k10g2000yqa.googlegroups.com> References: <15ff2ec1-5a2b-4d24-8aab-cf7985b6374f@t19g2000yql.googlegroups.com> <2e496d2c-f12f-4961-981b-2162fdf1ce1e@k3g2000prl.googlegroups.com> <1vakqa4gwjxry$.9j72428ewqp0.dlg@40tude.net> <1npn5zwqehpsz.1lqame09nycx1.dlg@40tude.net> <96992149-4b0b-4de3-b928-545baa8da5ad@y12g2000yqh.googlegroups.com> NNTP-Posting-Host: 85.1.207.56 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1306045374 10391 127.0.0.1 (22 May 2011 06:22:54 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 22 May 2011 06:22:54 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: k10g2000yqa.googlegroups.com; posting-host=85.1.207.56; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.57 Safari/534.24,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:19367 Date: 2011-05-21T23:22:54-07:00 List-Id: On 20 mai, 09:25, "Dmitry A. Kazakov" wrote: > > I hope the smiley also applies to the last paragraph as well, and that > > you are joking by saying "any automatically generated code is just an > > obstacle here"... > > I am not. BTW, this is one of the arguments against Ada generics. They > wandered to far into the realm of "generated" code. > > The point is simple. If the meta language is good, the object language is > irrelevant. Switch to the former. If you cannot, no reason to use it at > all. I'm afraid that there is some confusion here. The code generated by a GUI code generator has nothing to do with generics, even coincidentally. At least the code provided by GWenerator (GWindows), doesn't use generics. If you mean rather that generated GUI code looks like instanciated code from Ada generics, yes it looks like, but so what ? It doesn't go beyond that. And from a pragmatical point of view, generated code saves lots of time, so it far from being an obstacle. You make basic, graphical things with the GUI builder, and with the generated code you get types you can use directly or create classes and subclasses of GUI objects with additional functionalities, even fully new widgets. No limitation, just a net gain in time! G.