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=0.7 required=5.0 tests=BAYES_00,INVALID_DATE, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!killer!pollux!ti-csl!m2!gateley From: gateley@m2.csc.ti.com (John Gateley) Newsgroups: comp.lang.ada Subject: Re: Ada - Lisp Wars Message-ID: <72295@ti-csl.csc.ti.com> Date: 15 Mar 89 18:05:00 GMT References: <8903141815.AA03054@ajpo.sei.cmu.edu> Sender: news@ti-csl.csc.ti.com Reply-To: gateley@m2.UUCP (John Gateley) Organization: TI Computer Science Center, Dallas List-Id: In article <8903141815.AA03054@ajpo.sei.cmu.edu> IVANOVIC%VAXR@CIRCUS.LLNL.GOV ("Vladimir Ivanovic 415.423.7786") writes: > [ ... ] > In any case, I'd like to offer a proof that Ada and Lisp can both do > anything the other can do. > > (1) It is possible to write a Lisp interpreter in Ada. Hence Ada > can do anything Lisp can do. > > (2) It is possible to write an Ada compiler in Lisp. Hence Lisp > can do anything Ada can do. > > Voila! The argument is over. Everyone wins. No one loses. > > The really tough question is "When is it appropriate to use Ada? > or Lisp? or Scan? or C? or ?" For me, the question is not "can one language do something that another language can", it is "how easy is it to one thing in two different languages". For example, a recent posting shows how ``untyped'' variables can be used in Ada. This has drawbacks when compared to Lisp: it is harder to do, special accessors/settors must be defined, etc. This suggests that Ada can not express some things as well as Lisp. On the other hand, Lisp may not express some things as well as Ada, though I am not sure about this. (Okay, so I am prejudiced towards Lisp :^). Anyways, the issue is expressability, not completeness. Of course, it is rather difficult to define expressability. John gateley@tilde.csc.ti.com