home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!agate!doc.ic.ac.uk!uknet!mucs!m1!bevan
- From: bevan@cs.man.ac.uk (Stephen J Bevan)
- Newsgroups: comp.lang.ada
- Subject: Re: Computer languages
- Message-ID: <BEVAN.92Nov17213227@beluga.cs.man.ac.uk>
- Date: 17 Nov 92 21:32:27 GMT
- References: <9211121331.AA21974@efftoo.boeing.com>
- Sender: news@cs.man.ac.uk
- Organization: Department of Computer Science, University of Manchester
- Lines: 32
- In-reply-to: crispen@efftoo.boeing.com's message of 12 Nov 92 13:31:58 GMT
-
- In article <9211121331.AA21974@efftoo.boeing.com> crispen@efftoo.boeing.com (crispen) writes:
- Sorry for the heresy that follows, but every time there's any text
- to process, it's C for me. I've got a couple of C programs I wrote
- for the last Ada program I was on that generated Ada text -- the idea
- was to find the sizes of a bunch of interface data objects, so good
- old Ada's 'SIZE attribute is wonderful. But extracting the declarations
- from various packages, putting them together to make compilable Ada
- code (lots of file I/O, lots of text manipulation) -- that's a job
- for C.
-
- It is a job for any language you are comfortable with. Personally I
- would never use C for something like this, I'd go for Scheme, Icon,
- Awk or even Perl.
-
-
- A buddy of mine just did a big interactive text and file thing using
- Ada and it took him 3 days. I'm certain he could have done it in C
- in half a morning.
-
- And I'm sure Larry Wall or Tom Christiansen could give you the answer
- in Perl within minutes of hearing the problem :-)
-
- I would hope that most people agree that Ada is a fine language to
- deliver products in, but it is not _necessarily_ the best language to
- _prototype_ (part of) an application in. To give you an example :- I
- might prototype in Scheme taking full advantage of an interactive
- environment and the latent typing just to see if an idea pans out.
- Then once I'm confident the method has some merit, scrap the program
- and design an Ada solution based on what has been learnt from the
- prototype. Hourses for courses as they say :-)
-
- bevan
-