scsh-users
[Top] [All Lists]

Re: Strings as a uniform representation & tcl

To: scsh-news@martigny.ai.mit.edu
Subject: Re: Strings as a uniform representation & tcl
From: Michel de Groot <grootr@cs.utwente.nl>
Date: Fri, 23 May 1997 12:00:45 +0200
Organization: University of Twente
Olin Shivers wrote:
> 
>     >     If one had to choose a single type for everything, a string is a
>     > pretty good choice.   Why not a number?  How would you represent a
>     > string with a number?

Like a computer does: using a bit string. Much more efficient than a
ascii string anyway (which ofcourse is a bit string, I know).

Michel de Groot


> 
> Perlis, as usual, summed it up well in one of his aphorisms:
> 
>     The string is a stark data structure, and everywhere it
>     occurs there is much hiding of information.
> 
> This is what is wrong with both Unix and tcl. Their power is also a great
> weakness: they are designed around a "least common denominator"
> representation, strings. What it buys you is that everything interoperates.
> The above aphorism explains what it costs you.
>     -Olin

-- 
Freddy's Law: Murphy was an optimist

Visit the Ducosim website at
www.euronet.nl/~ducosim

R.M. de Groot
Campuslaan 57-104
7522 NK Enschede
the Netherlands
tel. NL-053-4895100 (home)
     NL-053-4894179 (work)
email: r.m.degroot@student.utwente.nl (home)
       grootr@cs.utwente.nl (work)

<Prev in Thread] Current Thread [Next in Thread>