From: mockturtle <framefritti@gmail.com>
Subject: Re: Script-like jobs in Ada (ideas for HAC)
Date: Sat, 25 Apr 2020 23:49:09 -0700 (PDT)
Date: 2020-04-25T23:49:09-07:00 [thread overview]
Message-ID: <241df266-9f5d-478e-9eaf-49ee32bf4330@googlegroups.com> (raw)
In-Reply-To: <9a4ad55c-ef0d-42ab-a438-cabc71a491a6@googlegroups.com>
On Friday, April 24, 2020 at 9:45:34 PM UTC+2, gautier...@hotmail.com wrote:
> It's a poll - sort of.
>
> The question is: what kind of jobs do you prefer let a scripting language do and not Ada?
>
>
The threshold is fuzzy, but usually I go with a script if
* I need to interact heavily with the system (e.g., moving files, directories, ...)
* I can do everything with basic shell commands. For example, if I need to do some math like matrix algebra I do not use a script (not entirely true... Once I did this by calling octave from the script and piping into it the required computations... I would not advise it, though...)
* It is something quite simple and/or I need it "fast and dirty" (e.g., to do something to lots of files, but a "something" that I will not need in the future) so that the maintenance advantage that Ada gives you has not much impact.
Sometimes in the gray area of problems too complex for a bash script, but not enough to justify the investment of initial effort required by Ada, I go with Ruby that is, IMHO, a fair compromise.
next prev parent reply other threads:[~2020-04-26 6:49 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-24 19:45 Script-like jobs in Ada (ideas for HAC) gautier_niouzes
2020-04-24 23:22 ` cantanima.perry
2020-04-25 0:11 ` Nasser M. Abbasi
2020-04-25 19:00 ` Stephen Leake
2020-04-25 23:35 ` Dennis Lee Bieber
2020-04-25 18:52 ` Stephen Leake
2020-04-26 6:49 ` mockturtle [this message]
2020-04-26 9:26 ` Jeffrey R. Carter
2020-04-26 14:49 ` Simon Wright
2020-04-27 18:50 ` Bojan Bozovic
2020-04-27 19:01 ` Optikos
2020-04-27 20:31 ` Dmitry A. Kazakov
2020-04-28 8:51 ` Jerry
2020-04-29 15:47 ` joakimds
2020-04-29 19:54 ` darek
2020-04-30 8:02 ` gautier_niouzes
2020-04-30 8:44 ` Dmitry A. Kazakov
2020-05-01 7:31 ` gautier_niouzes
2020-05-01 7:51 ` Dmitry A. Kazakov
2020-05-01 15:46 ` gautier_niouzes
2020-05-01 16:22 ` Dmitry A. Kazakov
2020-05-02 5:36 ` Trescott Jensen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox