On 02-12-2013, at 2:11 PM, Louis LaBrunda Lou@Keystone-Software.com wrote:
Hi Chris,
On Mon, 2 Dec 2013 14:52:59 -0600, Chris Muller asqueaker@gmail.com wrote:
It should be on Symbol, not String, because we're talking about method selectors, which are always Symbols.
I'm more familiar with VA Smalltalk than Squeak but I think Symbol is a sub class of String in both. As such the method should be on String so it would work when sent to a String or a Symbol as Frank's example "'foo' asSetterSelector" requires.
Yup; I’d stick it to String simply because a surprisingly large number of people do things like (#globble, ‘Wibbet’, self thingyString) asSymbol and involve Strings as well as Symbols in arcane nekomancy (that’s magic based on a cute cat running around a screen).
tim -- tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim Strange OpCodes: EF: Emulate Fireworks