[squeak-dev] InputSensor, EventSensor miscategorised?

Eliot Miranda eliot.miranda at gmail.com
Fri Jan 29 20:41:14 UTC 2016


Hi Frank,

> On Jan 29, 2016, at 12:01 PM, Frank Shearar <frank.shearar at gmail.com> wrote:
> 
>> On 29 January 2016 at 18:07, tim Rowledge <tim at rowledge.org> wrote:
>> 
>>> On 29-01-2016, at 9:43 AM, Chris Muller <asqueaker at gmail.com> wrote:
>>> 
>>> You can't unload a superclass without unloading its subclasses.  So,
>>> let me rephrase the question:  How could EventSensor be unloaded and
>>> then reloaded?
>> 
>> Ah, wrong question in this case. I suggest that we don’t need to even consider the issue of unloading either sensor class since it would be better to clean things up and simply get rid of InputSensor completely.
> 
> In a Trunk image, only Smalltalk at: #Sensor points to EventSensor.
> Nothing points to InputSensor. Nothing points to
> EventPointerConstants.
> 
> So why not in a postload of ST80, evaluate
> 
>    Environment current bind: #Sensor to: EventSensor
> 
> ?

 Sounds reasonable, but why not use (or add) EventSensor class>>initialize?  The post load strikes me as too fancy.

> 
> frank
> 
>> tim
>> --
>> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
>> Strange OpCodes: DCBP: Detonate Chair on Bad Password
> 


More information about the Squeak-dev mailing list