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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: GUI for Ada (GPS with GtkAda or GtkGlade GUI Builder) Date: Thu, 13 Aug 2015 14:50:12 +0200 Organization: cbb software GmbH Message-ID: <13h77fkwqywwh$.1h9cf6ytit6ew$.dlg@40tude.net> References: <84ecbeb2-095a-4067-a05e-e86ac86d8597@googlegroups.com> <8235925f-3299-48fb-abfe-67b77515e5de@googlegroups.com> <79oew82p4v6b$.hkifjb8uma0z$.dlg@40tude.net> <4a4b82b9-f0a2-48af-9da6-255dfaeeaf6f@googlegroups.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: enOx0b+nfqkc2k+TNpOejg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:27439 Date: 2015-08-13T14:50:12+02:00 List-Id: On Thu, 13 Aug 2015 05:09:36 -0700 (PDT), sjaniska@gmail.com wrote: > On Thursday, August 13, 2015 at 1:59:37 PM UTC+2, Dmitry A. Kazakov wrote: > >> No. Because GUI code is usually bigger and messier than the application >> code. It is more fragile and requires much more maintenance. > >> No. Maintenance costs are 10 times of developing costs. For GUI code it is >> even more than that, because once deployed, the customer starts requiring >> modifications. Whatever mythical productivity it does not matter in the end >> anyway. > > So, what is solution? > > Writing everything in Python :-) Writing nothing in Python! > Isn't the problem that many type-safe languages at the end use e.g. GTK > bindings for the library written in unsafe language like C? It is one of [lack of] education that leads people to develop GTK or Qt in the languages like C and C++. If you looked at GtkAda and compared it to the native C API you would immediately see how much safer GtkAda is. E.g. you could not connect to the "clicked" event of a tree store. That would be a type error checked statically. [You still could work around that and proudly get a run-time error from GTK] > Or, do you suggest writing everything in e.g. C++? I suggest writing everything in Ada. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de