Removing OneCharacterSymbols (was: Re: [squeak-dev] The Inbox:
Collections-nice.530.mcz)
Bert Freudenberg
bert at freudenbergs.de
Thu Sep 12 21:26:00 UTC 2013
On 2013-09-12, at 23:03, Levente Uzonyi <leves at elte.hu> wrote:
> On Thu, 12 Sep 2013, Bert Freudenberg wrote:
>
>> On 2013-09-11, at 23:14, Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com> wrote:
>>
>>> After verification, xColon is not so rare, it is invoked for every block argument...
>>> But we can safely replace (token := self step asSymbol) with (token := String with: self step), no problem.
>>> We can even change it to (token := self step) if we are willing to remove last scories of alternate selectors beginning with $:
>>> Indeed, #: and #:x are obsolete squeakism which would not compile in other dialects (#':' and #':x' is the universally correct syntax).
>> Well, all Squeak-derived dialects still do support it. Pharo changed the printString of #: to #':', while Squeak and Cuis still print #:. And they all accept #:, #:x, and #:x:::.
>
> You mean you can still use #: or #:x as a selector in Squeak, Cuis or Pharo? I'm pretty sure that was removed long ago from Squeak, and I doubt the other dialects support them.
No, I mean they recognize the symbol syntax.
- Bert -
More information about the Squeak-dev
mailing list
|