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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fa2cc518ef3b992c X-Google-Attributes: gid103376,public From: Ray Blaak Subject: Re: scripting/extension language for Ada (was : Re: tagged types extensions) Date: 2000/02/05 Message-ID: #1/1 X-Deja-AN: 581876073 Sender: blaak@ns43.infomatch.bc.ca References: <389207CC.C16D80E8@averstar.com> <38971028.BB16D8A2@earthlink.net> <3899F757.FAE131B3@free.fr> <389B5C01.D484CF2@raytheon.com> X-Trace: news.bctel.net 949749651 207.34.170.107 (Sat, 05 Feb 2000 03:20:51 PDT) NNTP-Posting-Date: Sat, 05 Feb 2000 03:20:51 PDT Newsgroups: comp.lang.ada X-Complaints-To: news@bctel.net Date: 2000-02-05T00:00:00+00:00 List-Id: "Stanley R. Allen" writes: > In our project, scripts have gotten very large and are used for many critical > capabilities. Some are thousands of lines long. We maintain these scripts > in our CM database just like the Ada, C, and FORTRAN code. They have long > life -- over 5 years. They must be documented because they are updated by > many hands over a long period of time. Sound familiar? Ada seems perfectly fine to me for such scripts -- that is, for real software. I, however, tend to use scripts for small little jobs that I can put together quickly. > I question your criterion for a "good" script language -- "succinct powerful > notation". Isn't this what we've come to learn as a receipe for > incomprehensibility? Not at all. Succinct does not mean obfuscated or cryptic. I mean an economy of expression such that things are actually easier to understand since more of the expression is dedicated to the real solution, rather than setting up an infrastructure of declarations. Essentially this is just programming at a higher level of abstraction. See my other post in this thread for an example. In any reasonably sized program, Ada's verbosity is a key feature to aid maintainability. For small very dedicated programs it can be a real pain. > I can't comment on scsh, but I've seen enough Perl to know that > it is a hacker's language front-to-back. Well, Scheme is generally considered to be a Lisp that is about are "pure" as one can get. Common Lispers, however, hate it, since they believe 1) it is not Lisp 2) one cannot do anything real with it, and 3) there is no other language necessary besides Common Lisp. Perl programs tend to be written in a hacky way, but fortunately has features that allow some reasonable semblance of software engineering. One can enable stricter checking and protection styles to the appropriate level of paranoia, and make use of packages. I know I try to write my Perl scripts with good expressive names and strict checking on. At least Perl has garbage collection (mostly) and closures. -- Cheers, The Rhythm is around me, The Rhythm has control. Ray Blaak The Rhythm is inside me, blaak@infomatch.com The Rhythm has my soul.