[squeak-dev] Utilities' symbol mangling methods
Louis LaBrunda
Lou at Keystone-Software.com
Mon Dec 2 22:11:38 UTC 2013
Hi Chris,
On Mon, 2 Dec 2013 14:52:59 -0600, Chris Muller <asqueaker at 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.
Lou
-----------------------------------------------------------
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon
mailto:Lou at Keystone-Software.com http://www.Keystone-Software.com
More information about the Squeak-dev
mailing list
|