comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Advanced scripting languages (was: Learning Ada83)
Date: Tue, 7 Sep 2004 19:07:36 -0500
Date: 2004-09-07T19:07:36-05:00	[thread overview]
Message-ID: <fsWdnej6l5KO0KPcRVn-og@megapath.net> (raw)
In-Reply-To: e749549b.0409041928.67714f9b@posting.google.com

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1689 bytes --]

"Kevin Cline" <kevin.cline@gmail.com> wrote in message
news:e749549b.0409041928.67714f9b@posting.google.com...
> "Randy Brukardt" <randy@rrsoftware.com> wrote in message
news:<taKdnQ2WrI_qn6TcRVn-sA@megapath.net>...
> > "Bj�rn Persson" <spam-away@nowhere.nil> wrote in message
> > news:7g2_c.102478$dP1.364156@newsc.telia.net...
> > Marius Amado Alves wrote:
> >
> > >>> It would also be useful and practical to learn one of the advanced
> > >>> scripting languages like Perl or Python or Ruby....
> > >>
> > >> Wow, they're *advanced* scripting languages now!
> > >
> > >Sure, a *lot* more advanced than bat files. ;-)
> >
> > That's funny, because if it's complicated enough that I can't write a
batch
> > file to do it, I'll generally write it in Ada. Bat has If and Goto, and
that
> > is enough for simple tasks. Beyond that, I want to be able to fix it and
be
> > able to insure that it works...
>
> Strong typing is handy, but it's not enough to ensure that something
> works.  Ada has it's strengths, but it's not the tool for every job.
> Why would you spend an hour writing 50 or 100 lines of Ada code when
> five minutes and a five-line Perl script would do the job?

Because it would take a week to learn Perl well enough to use it that way.
And it is very rare that such a program is never used again; my one
experience with Perl showed it to be a write-only language (it took me two
weeks to successfully modify the code that runs the CVS on the ada-auth.org
site). And it is very rare that I need to write a 100 line throwaway
program; most of my code has much more permanence than that. Summary: It
doesn't make sense for me. YMMV.

                           Randy.






  reply	other threads:[~2004-09-08  0:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-02 14:23 Learning Ada83 Jim Gurtner
2004-09-02 14:55 ` Martin Dowie
2004-09-02 23:13 ` Nick Roberts
2004-09-03 15:38   ` Kevin Cline
2004-09-03 16:42     ` Marius Amado Alves
2004-09-03 17:57       ` Advanced scripting languages (was: Learning Ada83) Björn Persson
2004-09-03 23:47         ` Randy Brukardt
2004-09-05  3:28           ` Kevin Cline
2004-09-08  0:07             ` Randy Brukardt [this message]
2004-09-08 13:38               ` Ken O. Burtch
2004-09-06  2:42 ` Learning Ada83 Jim Gurtner
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox