[squeak-dev] Why is ModificationForbidden not an Error?

Eliot Miranda eliot.miranda at gmail.com
Sat Apr 11 01:29:49 UTC 2020



> On Apr 10, 2020, at 10:06 AM, tim Rowledge <tim at rowledge.org> wrote:
> 
> 
> 
>> On 2020-04-09, at 6:55 PM, Chris Muller <asqueaker at gmail.com> wrote:
>> 
>> The two main use cases of ModificationForbidden present opposite perspectives onto it.
> 
> In that case perhaps we actually need two different signals ?

No!  When the signal is raised there is no way to tell about the use case without eg raising an exception to query the dynamic environment.  We only need one signal and it should be a resumable error.

> 
> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> Useful random insult:- Has an inferiority complex, but not a very good one.
> 
> 
> 


More information about the Squeak-dev mailing list