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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,38159b1b5557a2e7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-21 02:29:37 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: why ada is so unpopular ? Date: Wed, 21 Jan 2004 10:29:36 +0000 (UTC) Organization: PVV Message-ID: References: <49cbf610.0401170627.79c3dfe5@posting.google.com> <400A9B48.3060100@noplace.com> <400BD4B5.6000307@noplace.com> <_NedndNu6J_W_5Hd4p2dnA@comcast.com> <100p0avmc6r8146@corp.supernews.com> <38qdnRxA9pefI5Hd4p2dnA@comcast.com> NNTP-Posting-Host: k-083152.nt.ntnu.no X-Trace: tyfon.itea.ntnu.no 1074680976 14146 129.241.83.152 (21 Jan 2004 10:29:36 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Wed, 21 Jan 2004 10:29:36 +0000 (UTC) User-Agent: slrn/0.9.8.0 (Linux) Xref: archiver1.google.com comp.lang.ada:4595 Date: 2004-01-21T10:29:36+00:00 List-Id: On 2004-01-20, Stephen Leake wrote: > GtkAda also allows the user to easily bind an incorrect handler to an > event ("incorrect" here meaning "has the wrong parameter/result > profile"). The error is reported at run-time, but the Ada way is to > catch this error at compile time. How do you bind your handles? If I remember correctly there are two ways, the C way and the Ada way already. At least I use marshals which will make the compiler catch errors at compile time. Can you give a source example? -- "Saving keystrokes is the job of the text editor, not the programming language."