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!reader02.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Ada: A beginners experience Date: Sat, 14 Jul 2018 18:01:20 +0200 Organization: Aioe.org NNTP Server Message-ID: References: <1d3743b1-1a36-429d-92c7-9ae0e7c16e63@googlegroups.com> <87fu0m7ak0.fsf@nightsong.com> <6febe5d6-0339-4da5-afe5-9af4e2255597@googlegroups.com> <87muutddsc.fsf@nightsong.com> NNTP-Posting-Host: 3CrKQyqWAJZHy6zYVP/kUg.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 Content-Language: en-US X-Notice: Filtered by postfilter v. 0.8.3 Xref: reader02.eternal-september.org comp.lang.ada:53815 Date: 2018-07-14T18:01:20+02:00 List-Id: On 2018-07-14 17:42, Paul Rubin wrote: > Jere writes: >> Languages like Ada and C++ can have a lot of overhead if used like one >> is writing a desktop application. However, Ada (and C++) has a lot of >> those features at either no cost or almost no cost. > > I meant overhead in terms of source code verbosity, not computer cycles. > E.g. a Python "hello world" program: > > print("hello, world") > > the same thing in Ada is much more code. As if you didn't have to import modules in Python. If this example shows anything then bad design of Python where standard modules get special treatment. In Ada all packages are same. The package Standard is minimal. > If you look on rosettacode.org > the Ada examples are almost always much larger than the Python counterparts. While Python code is incredibly ugly and impossible to understand being counterintuitive, cryptic and lacking any regularity. My experience with Python was out of necessity, short and totally unhappy. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de