[Pharo-users] Re: About String and Symbol equality

2025-02-04 Thread Richard O'Keefe
No, String is NOT a special case in the ANSI standard, which is what I was specifically writing about. WideString is not in the standard, thank goodness (although at the time the standard was made, it was already clear that at least 16-bit characters were needed). The ANSI rule perfectly fits the

[Pharo-users] Re: About String and Symbol equality

2025-02-04 Thread Marcus Denker
> On 3 Feb 2025, at 06:33, Richard O'Keefe wrote: > > Not that anyone else probably cares, but the ANSI standard says > - for All objects x y, x = y if and only if y = x. >The Smalltalk-80 mixup over String and Symbol violated this, >‘X’ = #x but #x ~= ‘x’. > - two sequences are = iff

[Pharo-users] Re: About String and Symbol equality

2025-02-02 Thread Richard O'Keefe
Not that anyone else probably cares, but the ANSI standard says - for All objects x y, x = y if and only if y = x. The Smalltalk-80 mixup over String and Symbol violated this, ‘X’ = #x but #x ~= ‘x’. - two sequences are = iff they are the same size, corresponding elements are =, AND they are

[Pharo-users] Re: About String and Symbol equality

2025-02-02 Thread Jupiter Jones via Pharo-users
my 2c... There are arguments for and against any of the semantics decisions, so leaving those aside for greater minds... +1 GemStone Pharo and GemStone have long been an enviable workflow for “complex problems". They go together in a project, each providing a necessary part of the puzzle. Pha