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.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,ef0074ec236ba6e3 X-Google-Attributes: gid109fba,public X-Google-Thread: 108717,ef0074ec236ba6e3 X-Google-Attributes: gid108717,public X-Google-Thread: 1014db,ef0074ec236ba6e3 X-Google-Attributes: gid1014db,public X-Google-Thread: 1108a1,ef0074ec236ba6e3 X-Google-Attributes: gid1108a1,public X-Google-Thread: 103376,b19fa62fdce575f9 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-12-01 20:18:03 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!gatech!newsxfer.itd.umich.edu!zip.eecs.umich.edu!panix!cmcl2!thecourier.cims.nyu.edu!thecourier.cims.nyu.edu!nobody From: dewar@cs.nyu.edu (Robert Dewar) Newsgroups: comp.lang.ada,comp.lang.c,comp.programming,comp.lang.c++,comp.object Subject: Re: Why don't large companies use Ada? Date: 1 Dec 1994 16:02:54 -0500 Organization: Courant Institute of Mathematical Sciences Message-ID: <3bldlu$84r@gnat.cs.nyu.edu> References: <3aa7jo$7j@Starbase.NeoSoft.COM> <3b5ajt$n86@news-2.csn.net> <3b5h8q$de0@felix.seas.gwu.edu> <3bd06n$kbt@felix.seas.gwu.edu> NNTP-Posting-Host: gnat.cs.nyu.edu Xref: bga.com comp.lang.ada:8161 comp.lang.c:32910 comp.programming:5547 comp.lang.c++:39205 comp.object:9279 Date: 1994-12-01T16:02:54-05:00 List-Id: Ron, you don't need zillions of declarations. if you want to make an operation unavailable, then just make it abstract. basically there are only two possibilities for this sort of thing. specificlly define all the operators you need, or by default define all of them, and then specifically remove the ones you don't want. Ada 9X allows both approaches. There are various approaches to more automated approaches to the units problem, which have been discussed on the net in great detail, but many of the contributors to this discussion (including me) felt that it was overkill, and that in practice the basic mechanisms of defining the operators you need (using one of the above two approaches) is sufficient. Really the only step you could go further is to specifically add units support to the language, but for most people that is feature overkill. IN practice, I find the strong type protection of different integer types to be of minimal value, strong typing is most important at a higher level than that, but that's a matter of personal taste.