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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC 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: Tom Moran Subject: Re: Any research putting c above ada? Date: 1997/04/17 Message-ID: <335644B2.17E4@bix.com>#1/1 X-Deja-AN: 235489933 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> <5j19on$u82@newssvr01-int.news.prodigy.com> Organization: InterNex Information Services 1-800-595-3333 Reply-To: tmoran@bix.com Newsgroups: comp.lang.ada Date: 1997-04-17T00:00:00+00:00 List-Id: > why should I have different data types? The variable names used to > accumulate the results are quite adequate Certainly you can make long names that include the type - that's partly what Hungarian notation is about. You can also enclose simple int's in structs. The C programmer who's willing to be very verbose *can* do all this in C with no difficulty offered by the compiler. But an Ada compiler actively *helps* the programmer so he needn't verbosely do it all himself. (This is bizarre, since C used to sold as 'short and elegant and fewer keystrokes'. I guess that all goes away when you want to be careful.)