Removing OneCharacterSymbols (was: Re: [squeak-dev] The Inbox:
leves at elte.hu
Thu Sep 12 21:03:46 UTC 2013
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.
More information about the Squeak-dev