home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / ada / 3293 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  2.0 KB

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