In article <E8sJ14.wG@undergrad.math.uwaterloo.ca>,
firstname.lastname@example.org (Paul Prescod) writes:
>In article <email@example.com>,
>Chris Bitmead uid(x22068) <Chris.Bitmead@alcatel.com.au> wrote:
>>While Lisp does not store numbers as strings, I never know or care
>>that this is the case. In fact I could write a Lisp implementation
>>that does store numbers as strings, and a programmer using it would be
>>none the wiser (apart from awful performance of course). Why do you
>>want to fit everything in a string?? It buys you NOTHING.
>It buys you not having to write string->number. I don't think that this is a
>big win, but I could see how it would be useful to people who are not used
>to thinking about data types.
Actually there is no win at all. If you are going to DO anything with
the number you need string->number. The question in this case is
rather WHEN you do the conversion.
> Any programmer should run screaming from it,
>but I can see its value for end users. That explains why apps embed TCL, but
>not why programmers write whole programs in it.
If it is not the language itself then it must be some property of the
system itself which is useful and not found in other language
systems. What I don't know.
Robert Virding Tel: +46 (0)8 719 95 28
Computer Science Laboratory Email: firstname.lastname@example.org
Ericsson Telecom AB
S-126 25 ÄLVSJÖ, SWEDEN
"Folk säger att jag inte bryr mig om någonting, men det skiter jag i".