home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!spool.mu.edu!agate!ames!saimiri.primate.wisc.edu!sdd.hp.com!hp-col!fc.hp.com!koren
- From: koren@fc.hp.com (Steve Koren)
- Subject: Re: LISP - USE IT.
- Sender: news@fc.hp.com (news daemon)
- Message-ID: <BxIru5.K2r@fc.hp.com>
- Date: Tue, 10 Nov 1992 21:32:29 GMT
- References: <1992Nov10.134559.1133@sth.frontec.se>
- Organization: Hewlett-Packard Fort Collins Site
- X-Newsreader: Tin 1.1.3 PL5
- Lines: 57
-
- > I'm saying you should dump LISP completely.
-
- Ack! When they pry it from my cold, dead fingers, maybe...
-
- > Why should I want a new LISP? I said I wanted a powerful script
- > language with straight, simple syntax which is easy for users (without
- > LISP experience) to learn. LISP is not such a language.
-
- I think it _is_ such a language. Lets consider the parts of your
- request:
-
- - Powerful. LISP is certainly very powerful.
-
- - Straight, simple syntax. I can't think of any language I've learned
- which has a more straightforward and simple syntax than LISP.
- Consider: you have lists, and that's just about all. Control
- structures are lists. Macro facilities are lists. Variable
- assignments are lists. Scoping constructs are lists. Function
- definitions are lists. Lists have a trivial syntax that takes maybe
- 10 seconds to learn if you are having a bad day. What could be
- simpler? The only thing you really _need_ that isn't a list is a
- comment, and even then, it would be trivial to define a new list
- form called "comment" so comments could be lists too. No irregular
- syntax to memorize like you have in ARexx, C, etc.
-
- - Easy to learn. I think I got a basic fluency with LISP faster than
- pretty much anything else. Granted, it is hard to _master_ it, but
- that is because it is so powerful. But to get a basic fluency with
- the language is not hard, because you don't have to worry so much
- about learning different syntaxes for each of many language
- constructs. Also, if you don't like prefix notation, you can change
- it without too much difficulty. In fact, I bet I could write a LISP
- program in just a few lines which changes standard prefix LISP to
- postfix LISP, and it could be done on the fly also. Try changing
- your C compiler to let you use pre or postfix C operators!
- (ie, a = 1 2 3 4 +; not even #define magic will let you do that).
-
- > What languages to Amiga users come across these days?
- > Fortran? Cobol? LISP?
- > Nope. It's 'C', ARexx, Basic, Pascal and some others.
-
- Depends on the user. I use C the most (90%), LISP next (8%), and ARexx
- last (2%). I only use ARexx to glue things together, not to write
- programs in. To me, ARexx's only redeeming value is that someone,
- probable while drunk (:-), picked it to use as an interprocess script
- language. But there's nothing about that which LISP couldn't do in a
- more structured manner.
-
- > A script language for the Amiga should have lots of things users recognize
- > from the languages they normally see. If it's hard to learn, people
-
- Do you think ARexx is a common language? If you want something lots of
- people will understand, why not use an interpreted C as your
- interprocess scripting language? Lots of folks would know that. At
- least, a whole lot more than will grok ARexx.
-
- - steve
-