home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.lisp
- Path: sparky!uunet!widget!pole
- From: pole@evb.com (Tom Pole)
- Subject: Re: Lisp syntax beauty? (was Re: Why Isn't Lisp a Mainstream Language?)
- Message-ID: <1993Jan28.190225.9215@evb.com>
- Organization: EVB Software Engineering, Inc.
- References: <19930122162651.0.SWM@SUMMER.SCRC.Symbolics.COM> <dfs.727723285@noonian> <C1GEsq.94@stl.dk>
- Date: Thu, 28 Jan 1993 19:02:25 GMT
- Lines: 46
-
- In article <C1GEsq.94@stl.dk> flv@stl.dk (Flemming Vestergaard) writes:
- >In <dfs.727723285@noonian> dfs@doe.carleton.ca (David F. Skoll) writes:
- >
- >>I've noticed a thread extolling the beauty of Lisp syntax. While I agree
- >>that mostly, Lisp syntax is easy to understand and consistent, I wonder
- >>what sort of mental disease struck the creators for the "format" function.
- >>Take a look at all the baroque format directives in Common Lisp. I mean,
- >>who really needs the number 394829348234982435 formatted in English words??
- >>Just try (format t "~R~%" 394829348234982435) for fun!
- >
- >Well, it is fun. But from this corner of the world I suppose that it is
- >a more serious problem (if not a disaster) that Common Lisp provides
- >input and output functions that are suited only for English/American.
- >
- >(format t "~R" 4) -> four really doesn't help very much in most of the world.
-
-
- I'm a bit confused. The fact that the output is in 'American' is somehow
- different from the code being in 'American'. Don't 'C', Fortran, Basic, Ada
- compilers' source code in all countries use "print", "open", "type",
- "character", "in", "out", etc., etc. This may be a complaint, but surely
- not a complaint about Lisp syntax/semantics.
-
- I don't believe it would be terribly difficult to write a lisp extention
- to allow a format method to be defined on a foreign language object
- to produce the textual versions of numbers. I believe that Lisp
- syntax/semantics and its dynamic/extensible nature would also make
- such an extention easier to implement in Lisp than in most other
- languages.
-
- >And yes-or-no-p cannot be used either.
-
- Thomas
-
- >
- >I do think it is a mistake to include natural language specific functions
- >in a language standard.
-
-
- >
- >Flemming
-
-
- --
-
- Thomas Pole
-