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 X-Received: by 2002:ac8:554a:: with SMTP id o10mr16376651qtr.221.1587841201041; Sat, 25 Apr 2020 12:00:01 -0700 (PDT) X-Received: by 2002:a9d:5cc1:: with SMTP id r1mr11948112oti.329.1587841200706; Sat, 25 Apr 2020 12:00:00 -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!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 25 Apr 2020 12:00:00 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=76.77.182.20; posting-account=W2gdXQoAAADxIuhBWhPFjUps3wUp4RhQ NNTP-Posting-Host: 76.77.182.20 References: <9a4ad55c-ef0d-42ab-a438-cabc71a491a6@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <83a42918-4ea5-453b-961d-d4bd1f8d48dd@googlegroups.com> Subject: Re: Script-like jobs in Ada (ideas for HAC) From: Stephen Leake Injection-Date: Sat, 25 Apr 2020 19:00:01 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:58490 Date: 2020-04-25T12:00:00-07:00 List-Id: On Friday, April 24, 2020 at 5:11:43 PM UTC-7, Nasser M. Abbasi wrote: > Main advantage of scripts, and by this I really mean bash, sh, python, an= d may > be perl, is that these come pre-installed on Linux.=20 As you point out below, Linux /=3D all computers. An Ada compiler is one of the first things I install on any computer I buy;= not a big deal. > Hence any script written will run as is, with no need to having to first > "compile" it for that specific version of the OS.=20 Ada is far more cross-platform than bash; Ada will compile and run on Windo= ws, bash won't (I know, you can install Mingw2, and I do). More to the point Ada will do _exactly_ the same thing, or complain that it= can't; a scripting language is likely to guess what you might want it to d= o. > Also easy to email one > a script and they run on their end. No need to install a compiler first, > figure how to compile it, link it, etc... I always have Ada installed. I never have the latest Hot Scripting Language= installed, and when someone emails me a script in that (or more likely, a = url for a script), installing that and then trying to get the script to wor= k is _very_ frustrating! (most recent example was some Python script that r= equired a module; the standard install process for modules was broken). > That is I think is the main advantage of scripts over compiled > languages. Ease of use. Bosh. I am far more productive in Ada than in any other language. -- Stephe