merits of Lisp vs Python

John Thingstad john.thingstad at chello.no
Sat Dec 9 20:33:12 EST 2006


On Sun, 10 Dec 2006 01:29:43 +0100, Steven D'Aprano  
<steve at REMOVE.THIS.cybersource.com.au> wrote:

>
>
> Oh my god! Lisp can echo STRINGS to the interpreter???? Why didn't
> somebody somebody tell me that!!!! That *completely* changes my mind  
> about
> the language!
>
> I'm especially impressed that it knew I wanted them printed in uppercase
> without being told.
>
>
>

Except it is not a string. It is a list of symbols. Hence the upcase.
"This is how you write a string in Lisp"
and that does preserve case.
(If you want symbols to be case sensitive and default case to be lower  
then most
Lisp's allow that, but the ANSI spec dosn't give a standard way.)

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



More information about the Python-list mailing list