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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.uzoreto.com!feeder.erje.net!2.eu.feeder.erje.net!newsfeed.pionier.net.pl!pwr.wroc.pl!news.wcss.wroc.pl!not-for-mail From: antispam@math.uni.wroc.pl Newsgroups: comp.lang.ada Subject: Re: How to make Ada popular. Get rid of ";" at end of statement. Date: Fri, 26 Jul 2019 10:54:08 +0000 (UTC) Organization: Politechnika Wroclawska Message-ID: References: <5d9a8728-3c5b-4caf-b765-a455ba4d3523@googlegroups.com> <5fb45b9c-d7da-447c-999e-0e8bcce2eed5@googlegroups.com> <5467cebd-79c3-444c-b28d-a6a217bca0e5@googlegroups.com> NNTP-Posting-Host: hera.math.uni.wroc.pl X-Trace: z-news.wcss.wroc.pl 1564138448 22519 156.17.86.1 (26 Jul 2019 10:54:08 GMT) X-Complaints-To: abuse@news.pwr.wroc.pl NNTP-Posting-Date: Fri, 26 Jul 2019 10:54:08 +0000 (UTC) Cancel-Lock: sha1:AEzPcoyWiIPkpoWDfICzvzV20ag= User-Agent: tin/2.4.1-20161224 ("Daill") (UNIX) (Linux/4.19.0 (x86_64)) Xref: reader01.eternal-september.org comp.lang.ada:56951 Date: 2019-07-26T10:54:08+00:00 List-Id: Ingo M. wrote: > Am Mittwoch, 24. Juli 2019 17:29:06 UTC+2 schrieb Dmitry A. Kazakov: > > > It is worse than C/C++. It is largely model-driven design with software > > written or drawn in the form of diagrams which prevent even C/C++ > > rudimentary safety checks. Assorted chunks of code generated from > > diagrams are then piled together into one system. > > If that is usual then it should not matter which language the code generator uses to produce the final result. It would not matter if the object code language is C, or C++, or Ada, or whatever. So, why not use a _safe_ language for that? IME any restriction in target language tends to complicate generator. Ada gives you bundled deal. Some safety rules make sense whatever language you use, but some other are just arbitrary complication. For example, IIRC Ada function can not have output parameters. So, less restrivtive target language is more convenient for generaator. Also, macros in target language simplify generator. Theoretically you may think that generator can do expansion. It can, but in practice macros in target language make difference. -- Waldek Hebisch