To make String and Symbol ANSI compliant regarding #=

Stephan Rudlof sr at evolgo.de
Mon Apr 17 14:37:27 UTC 2000


Andreas,

"Raab, Andreas" wrote:
> 
> [Not trying to get into this discussion for real ;-]

Why not? It is a very central (in more than just one senses) part of
Squeak (like for every ST).

> 
> > Not so long time ago Andreas Raab told me, that Symbols are treated as
> > Strings in Squeak (I think the question was, if there are constraints
> > how to give String-like parameters to primitives).
> 
> I didn't say that exactly.

I'm sorry if I have incorrectly referred to you.

My words are too short, I think. I have hoped that it was clear that I
didn't want to say that Symbols are treated as Strings regarding *all*
aspects of Squeak.

> I said that there are many primitives for which
> both, Strings and Symbols will work since a common test for 'stringyness' is
> to check if the class format is byte indexed. Therefore as long as symbols
> are byte indexed we're just fine but if we want to change that a couple of
> primitives need to be looked at.

! 

Greetings,

Stephan

> 
>   - Andreas

-- 
Stephan Rudlof (sr at evolgo.de)
   "Genius doesn't work on an assembly line basis.
    You can't simply say, 'Today I will be brilliant.'"
    -- Kirk, "The Ultimate Computer", stardate 4731.3





More information about the Squeak-dev mailing list