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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,57c5412f281db3e9 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.megapath.net!news.megapath.net.POSTED!not-for-mail NNTP-Posting-Date: Tue, 07 Sep 2004 19:06:42 -0500 From: "Randy Brukardt" Newsgroups: comp.lang.ada References: <7g2_c.102478$dP1.364156@newsc.telia.net> Subject: Re: Advanced scripting languages (was: Learning Ada83) Date: Tue, 7 Sep 2004 19:07:36 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Message-ID: NNTP-Posting-Host: 64.32.209.38 X-Trace: sv3-GgY8km5TS4JaIgUr0M+CRH8vZATe8NuYOyUjlL1Imy0pYMDP5jHmRxj9m+PPmAHbsAWtYDjvOW6q+mW!rLmwV3KMksuTj3mSaaW6gTNew8mBv07PEXGc4mwzpMPwAfXA17dEnhhWO4zVQJ78lo+PCrgA22xO X-Complaints-To: abuse@megapath.net X-DMCA-Complaints-To: abuse@megapath.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.13 Xref: g2news1.google.com comp.lang.ada:3458 Date: 2004-09-07T19:07:36-05:00 List-Id: "Kevin Cline" wrote in message news:e749549b.0409041928.67714f9b@posting.google.com... > "Randy Brukardt" wrote in message news:... > > "Bj�rn Persson" 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.