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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a5d:9f4a:: with SMTP id u10mr682308iot.243.1559723332514; Wed, 05 Jun 2019 01:28:52 -0700 (PDT) X-Received: by 2002:a05:6808:690:: with SMTP id k16mr3807814oig.119.1559723332240; Wed, 05 Jun 2019 01:28:52 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.166.216.MISMATCH!i64no109638iti.0!news-out.google.com!l135ni127itc.0!nntp.google.com!g15no109858itd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 5 Jun 2019 01:28:51 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=165.225.84.81; posting-account=bMuEOQoAAACUUr_ghL3RBIi5neBZ5w_S NNTP-Posting-Host: 165.225.84.81 References: <28facad3-c55f-4ef2-8ef8-004925b7d1f1@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Why .ads as well as .adb? From: Maciej Sobczak Injection-Date: Wed, 05 Jun 2019 08:28:52 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:56478 Date: 2019-06-05T01:28:51-07:00 List-Id: > There's a lot more to readability than just the "proportion of useful cod= e". OK, so I'll keep playing the devil's advocate. :-) > Indeed, it is rather important that delimiters be clear and not get lost = in=20 > the code. It's also important for the code not to get lost in delimiters. LISP and Ad= a are examples of languages where delimiters are distracting and thus cross= the fine border between "visible" and "obstructing". > (as it is a single skinny character, barely noticiable in most fonts); Please use good fonts. There is absolutely no reason to use bad fonts for d= oing professional work. And no, I don't get the argument that the language syntax has the purpose o= f solving the problem of bad fonts in someone's text editor. On the contrar= y. > it's hard to tell the difference between that and a blank line in the abo= ve. This is augmented with the indentation. It's very clear without being obstr= ucting. > And C-family code with } on separate lines is a rarity Not in my world. Actually, this is the only style I happen to work with. Th= is style is promoted by all industrial coding standards (both C and C++ lan= guage standards examples, MISRA-C, JSF, HICPP, AUTOSAR, ...), so I don't ge= t the argument about "rarity". Actually, I don't even know where to find something different. > most=20 > of it is all smushed together (more like we'd write parens in Ada). I don't know where "most" comes from in your statistics. > Ada strikes the critical balance between readability and consiseness. Not in the perception of those who attempt to learn it. Ada has the reputat= ion of being overly verbose and considering that such reputation comes from= beginners after the initial contact with the language, it very likely come= s exactly from the block delimiters. > And it=20 > pretty much is the only language where the language designers truly cared= =20 > about readability This statement is unfounded and the word "truly" is dangerous. --=20 Maciej Sobczak * http://www.inspirel.com