[Cuis-dev] Enhancement proposal: Fail test when no assertion ran

Andres Valloud ten at smallinteger.com
Mon Apr 15 11:23:09 PDT 2024


... well, maybe those are exceptions only intended for UI use, and in 
that way you do not have to write on:do: everywhere because they have a 
default handler, no?...

That those exceptions are not well designed does not justify doing 
something even worse.

On 4/15/24 4:33 AM, Hernán Wilkinson wrote:
> Most of default handlers in Smalltalk are coupled with the UI and make 
> incorrect assumptions of applicability. Look at the defaultAction of 
> UndeclaredVariable or UndefinedVariable, etc. They assume you are in a 
> browser, but what happens if you are filing in code?


More information about the Cuis-dev mailing list