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: 103376,b19fa62fdce575f9 X-Google-Attributes: gid103376,public X-Google-Thread: 1014db,ef0074ec236ba6e3 X-Google-Attributes: gid1014db,public X-Google-Thread: 108717,ef0074ec236ba6e3 X-Google-Attributes: gid108717,public X-Google-Thread: 1108a1,ef0074ec236ba6e3 X-Google-Attributes: gid1108a1,public X-Google-ArrivalTime: 1994-12-01 17:06:00 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!swrinde!news.dell.com!natinst.com!xenon.brooks.af.mil!floyd.brooks.af.mil!smd From: smd@floyd.brooks.af.mil (Sten Drescher) Newsgroups: comp.lang.ada,comp.lang.c,comp.programming,comp.lang.c++,comp.object Subject: Re: Why don't large companies use Ada? Date: 01 Dec 1994 21:11:23 GMT Organization: Armstrong Laboratory Intelligent Training Branch Message-ID: References: <3aa7jo$7j@Starbase.NeoSoft.COM> <3b5ajt$n86@news-2.csn.net> <3b5h8q$de0@felix.seas.gwu.edu> <3bd06n$kbt@felix.seas.gwu.edu> Reply-To: smd@floyd.brooks.af.mil NNTP-Posting-Host: floyd.brooks.af.mil To: house@helios.usq.EDU.AU (ron house) In-reply-to: house@helios.usq.EDU.AU's message of Wed, 30 Nov 1994 06:50:43 GMT Xref: bga.com comp.lang.ada:8160 comp.lang.c:32886 comp.programming:5544 comp.lang.c++:39189 comp.object:9267 Date: 1994-12-01T21:11:23+00:00 List-Id: In article , house@helios.usq.EDU.AU (ron house) writes: rh> How about "Ada - use it when you want to multiply a length by a rh> length and get a length, or when you want to be prevented from rh> dividing an area by a length because they have different types." rh> (PS: yes, you can fix that by defining zillions of additional *,/,- rh> and + functions, but good grief...) If you're silly enough to define types for length and area, then yes, you should have to define the type conversions. It's the programmer who declared that there's a distinction, not the compiler. --