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.1 required=5.0 tests=BAYES_05,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1042f393323e22da X-Google-Attributes: gid103376,public From: NKSW39B@prodigy.com (Matthew Givens) Subject: Re: Any research putting c above ada? Date: 1997/04/16 Message-ID: <5j19on$u82@newssvr01-int.news.prodigy.com>#1/1 X-Deja-AN: 235152950 Distribution: world References: <5ih6i9$oct$1@waldorf.csc.calpoly.edu> <5ijb0o$ajc@ns1.sw-eng.falls-church.va.us> <334d3da5.14386594@aplcen.apl.jhu.edu> <2senchydgk.fsf@hpodid2.eurocontrol.fr> <5im3an$3dv@bcrkh13.bnr.ca> <33526cbf.41c6@cca.rockwell.com> <5iusvd$118e@newssvr01-int.news.prodigy.com> <3353a187.1062@bix.com> Organization: Prodigy Services Company 1-800-PRODIGY Newsgroups: comp.lang.ada Date: 1997-04-16T00:00:00+00:00 List-Id: Tom Moran wrote: > >> assumes that the programmer WANTS the strict typing. I rarely do, >> and I rarely run into problems with it. >If you are dealing only with counting apples, then certainly all your >counts should be of the same type, which is no more difficult in Ada >than in C. Only if you are counting both apples and oranges, and do not >wish to accidentally compare apples and oranges, do you need multiple, >distinct, types. That's much less conveniently done in C than Ada. Ada >gives you convenient tools for both situations, C only for the simple >situation. If I'm counting apples and oranges (both countable by integers), why should I have different data types? The variable names used to accumulate the results are quite adequate to distinguish the difference between the two. - "Outside of a dog, a book is a Man's best friend. Inside of a dog it's very dark." << Iceman >>