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,22b2c05a8088bbb2 X-Google-Attributes: gid103376,public X-Google-Thread: 101deb,495b037244521cf3 X-Google-Attributes: gid101deb,public From: jcoffin@taeus.com (Jerry Coffin) Subject: Re: Leading zeros with Int_IO.Put()? Or another package? Date: 1996/11/21 Message-ID: #1/1 X-Deja-AN: 197945528 references: <327FB8A3.745B@itg-sepg.logicon.com> <55ubsh$lh0$1@goanna.cs.rmit.edu.au> <56bi13$3pa$1@goanna.cs.rmit.edu.au> <328A0DDD.94B@lmtas.lmco.com> <56rgou$r4k$1@goanna.cs.rmit.edu.au> <56tjrh$4ak$1@goanna.cs.rmit.edu.au> <56trsm$f5a$1@goanna.cs.rmit.edu.au> organization: TAEUS newsgroups: comp.lang.ada,comp.lang.pl1 Date: 1996-11-21T00:00:00+00:00 List-Id: In article <56trsm$f5a$1@goanna.cs.rmit.edu.au>, rav@goanna.cs.rmit.edu.au says... [ rav said ] > >>Ada clearly failed in this aspect. > [ Richard O'keefe repiled ] > >This is not clear at all. [ and rav replied to that: ] > ---It is abundantly clear that it failed as to ease of writing. > Various postings suggested that the conversion could be done in up > to 82 lines of Ada code, whereas PL/I requires one simple line. Given almost any two programming languages, it's trivial to find a construct that's far more difficult to create in one than the other. The fact that this particular construct happens to be built into PL/I but no Ada proves absolutely _nothing_ about the two languages overall. If we take a single example as indicative of a language in general, it's trivial to show that, for instance, C is far more readable than BASIC. Likewise, if you simply take program length as an indication of complexity, it's fairly trivial to show that PL/I is generally superior to Ada. However, it's equally trivial to show that APL is _dramatically_ superior to either. Having had to maintain some APL at one time, I have to question a premise that leads to that particular conclusion. If you'd like, attempt to translate one simple line of APL: `b <- /+ a' (where <- is really a single character) into PL/I, and retain full generality. Here I'm not even trying to pick something terribly difficult either - just some _really_ simple APL. Oh, in case you don't know APL, that sums the members of an array named a, and puts the result into a variable named b. a can be of any size and number of dimensions. -- Later, Jerry.