[squeak-dev] Utilities' symbol mangling methods

Chris Muller asqueaker at gmail.com
Mon Dec 2 23:03:24 UTC 2013


Yeah, on String is fine.

On Mon, Dec 2, 2013 at 4:11 PM, Louis LaBrunda
<Lou at keystone-software.com> wrote:
> 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