Pharo Zen says: Explicit is better than implicit.
http://blog.pharo.fr/pages/PHARO-Zen

On Thu, 4 Jul 2019 at 21:53, Esteban Maringolo <[email protected]> wrote:
>
> The ***convention*** for exiting anything that requires saving is using a
> Yes/No/Cancel interaction.
>
> Yes: Exit and save.
> No: Exit without saving.
> Cancel: Do nothing.

Thanks for the clarification.
So indeed this a case in point.  The implicit semantics were not clear
to me.  (I don't think I've ever pressed No - only Yes or Cancel).
This would be better:
    Save: Exit and save.
    Discard: Exit without saving.
    Cancel: Do nothing.

Taking as inspiration Marcus' trivial-fix-a-day, rather than just
chatter about it, here is my action...
https://github.com/pharo-project/pharo/pull/3774

cheers -ben

Reply via email to