[squeak-dev] Utilities' symbol mangling methods

tim Rowledge tim at rowledge.org
Fri Nov 29 23:50:52 UTC 2013


On 29-11-2013, at 3:38 PM, Frank Shearar <frank.shearar at gmail.com> wrote:

> On 29 November 2013 21:51, tim Rowledge <tim at rowledge.org> wrote:
>> 
>> On 29-11-2013, at 12:43 PM, Frank Shearar <frank.shearar at gmail.com> wrote:
>> 
>>> inherentSelectorForGetter
>> That’s absolutely a Symbol method and really ought always have been there.
> 
> It wasn't clear to me either from the senders-of or the implementation
> whether it should go on Symbol or String, so I went with the
> broader/safer option, and put it on String.
> 
> But I take it you're voting for "put it on the dang object" option
> rather than "monkey patching is evil”?

Guess so; methods ought to go in The Right Place. Now *defining* that place… that’s where the art is.

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Strange OpCodes: BIB: Branch If Branch if branch...




More information about the Squeak-dev mailing list