On Mon, Mar 16, 2020 at 9:06 AM Thomas Passin <[email protected]> wrote:

>
>
> On Monday, March 16, 2020 at 6:23:50 AM UTC-4, Edward K. Ream wrote:
>
>>
>> As noted in the issue, it's not clear whether changing `g.app` to `self`
>> in the LeoApp class would make any real difference. It might well mislead
>> people.
>>
>
> I always thought that you had used this kind of idiom as a mnemonic aid.
> It has worked that way for me, anyway.
>

Heh, That's probably right. I almost certainly did so without considering
that the consequences, namely that the LeoApp instance must be a singleton.

To be clear, imo it's fine with that the LeoApp instance *is* a singleton.
Lastly, trying to allow the LeoApp class *not *to be a singleton will
likely be far more fraught than anyone, including me, might naively expect.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS2Vh6KwU9ot473FHZ2-8n-yoy67iTzoTkVmwgptw2-bkQ%40mail.gmail.com.

Reply via email to