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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:ac8:323a:: with SMTP id x55mr40924290qta.211.1563633655424; Sat, 20 Jul 2019 07:40:55 -0700 (PDT) X-Received: by 2002:a9d:6c13:: with SMTP id f19mr4861190otq.76.1563633655020; Sat, 20 Jul 2019 07:40:55 -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.160.216.MISMATCH!b26no6662834qtq.0!news-out.google.com!e17ni882qtg.1!nntp.google.com!b26no6662826qtq.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 20 Jul 2019 07:40:54 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:c7d:897d:6600:7c6b:f9ca:1cad:aa7e; posting-account=YRfoYAoAAADhSEO2nLYx10QUUvp8akYl NNTP-Posting-Host: 2a02:c7d:897d:6600:7c6b:f9ca:1cad:aa7e References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: How to make Ada popular. Get rid of ";" at end of statement. From: Stephen Davies Injection-Date: Sat, 20 Jul 2019 14:40:55 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:56900 Date: 2019-07-20T07:40:54-07:00 List-Id: On Friday, 19 July 2019 22:42:00 UTC+1, Nasser M. Abbasi wrote: > According to https://hackernoon.com/best-coding-languages-to-learn-in-2019-b49b49250a25 > > ... I'd like to make a suggestion: Remove ";" from Ada. > I don't see this as being a problem given the numerous popular languages that do use semicolons. But I do think that maybe Ada would be less off-putting to people who know other languages if it adopted some constructs that are now standard in nearly all languages, e.g.:- Allow 0x, 0b and 0o for Hex, Bin and Octal numbers (with an optional extra parameter in Integer_IO.Put) Allow == for equality, though obviously only allow := for assignment (maybe make this the preferred form, similar to how Mixed_Case took over from UPPER_CASE) I also think that the annoying leading-space on Integer'Image is off-putting to newbies too because it's those early programs where you often just want to embed a number in an output string quickly. Would it really be that hard to add a Trim_Image attribute or add a Width parameter to Integer'Image? Finally, not to be entirely negative, I realy like the new @ feature and hope it makes people looking at Ada who are used to +=, etc think "ooh, that's nice".