comp.lang.ada
 help / color / mirror / Atom feed
* Ada vs LISP vs C vs ...
@ 1989-03-16 17:00 petcher
  1989-03-17 23:05 ` mcdonald
  0 siblings, 1 reply; 2+ messages in thread
From: petcher @ 1989-03-16 17:00 UTC (permalink / raw)


The first thing we must do is agree on the definition of the term "general
purpose language."  Opinions will vary, but in general the characteristics of
such a language are that it can 1.)  add, subtract, multiply, and divide.
2.) store the results of the above operations.  3.)  Branch to one of two
different program paths based on the results of the above operations.
Anything else is gravy, including bitwise logical operations (some of which
are *damn* hard in Ada!)  The outcome of this is, technically, you can do
anything in any "general purpose" language, and you can do it without writing
a compiler or interpretter for some other language.  You *can* do pipe stress
analysis in LISP, and you *can* do AI programming in FORTRAN (YOU can!  Don't
ask me to!)  However, certain languages are optimized for certain
applications.  I use C a lot, and it is wonderful for what I do, because it
allows working with high level structures and low level bit flipping in the
same problem space.  However, there probably isn't a thing I've done in C
that couldn't have been done in any general purpose language, even BASIC.
It's just that the sort of software I write, and the programming style I use,
agree best with C.  Other sorts of software are easier in FORTRAN, or LISP,
or even ADA.  Probably even more important than what language is most
appropriate for a given application is what language is the programmer most
comfortable with.  People will go out of their way to use the language they
like best, no matter how inappropriate it is for the task at hand.  In a lot
of cases, that's OK, though it can generate maintainability problems.

Now that I've rambled at length about *my* philosophy, we must get back to
the real world.  If you get a contract from the government that says you must
use Ada, then all this discussion about convertability from other languages
becomes quite academic, doesn't it?

Malcolm Petcher

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1989-03-17 23:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1989-03-16 17:00 Ada vs LISP vs C vs petcher
1989-03-17 23:05 ` mcdonald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox