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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7d608a55f7b2e640 X-Google-Attributes: gid103376,public From: kilgallen@eisner.decus.org (Larry Kilgallen) Subject: Re: Call for ACE participation Date: 1996/10/17 Message-ID: <1996Oct17.073937.1@eisner>#1/1 X-Deja-AN: 190048369 x-nntp-posting-host: eisner.decus.org references: <1996Oct8.194417.16693@ocsystems.com> <1996Oct15.161554.1@eisner> <1996Oct16.112853.1@eisner> x-nntp-posting-user: KILGALLEN x-trace: 845552385/18359 organization: LJK Software newsgroups: comp.lang.ada Date: 1996-10-17T00:00:00+00:00 List-Id: In article , dewar@merv.cs.nyu.edu (Robert Dewar) writes: > Larry said > > "Yes, I certainly want thin bindings in many cases, but I would think of > a binding which mirrored OS calls but described them with different > derived numeric types for "window number" and "command number" as > still being "thin". I have to do as much work to use it, but more > of my mistakes will be automatically detected." > > Now I am puzzled, it is not the case that the thin bindings we are > talking about avoid the use of derived numeric types. In fact one > discussion we have had with respect to one of the bindings was > precisely whether or not to use derived types in a particular > situation, and we concluded that the attempt to use derived types > was flawed because it generated so many annoying and unhelpful > conversions. > > The issue of when and when not to use derived types is an interesting > one, but I don't see it has anytyhing to do with bindings being thick > or thin! I do not believe I was the one who introduced the word "thick" to this thread. I was merely looking for a baselevel of using derived numeric types (something which takes human effort beyond what can be done with mechanical translation of bindings from lesser languages). The method you describe (try for derived types, but skip them in cases where they cause trouble) seems appropriate to me, but was obviously not used in the Ada bindings I have needed so far. Larry Kilgallen