O$ programming style
I have adopted a similar concept. In essence imitating the MVC design pattern.
I created a controller object for the window and the controller instantiated the window (view) and acted as the event manager for same etc.
At first I of course was always questioning is there an advantage.
Over time the advantages started to appear.
First I would find common tasks that could be set to sub controllers and be available to other views.
That you are here — that life exists, and identity; that the powerful play goes on and you may contribute a verse. — Whitman
What will your verse be?
> On Dec 18, 2017, at 8:46 AM, Mike Rowan <email@example.com> wrote:
> I have recently written a lot of code using the idea that ‘Omnis Programming’ seems to suggest, namely having almost no operational code in the methods of a window, by shifting them to an object instantiated as an instance variable of type object of the window.
> I’n not sure I see any advantage for a desktop library, and wonder what I have missed. In fact it seems to add a whole extra layer of pain.
> Meanwhile, seasons greetings to all
> Manage your list subscriptions at lists.omnis-dev.com
Manage your list subscriptions at lists.omnis-dev.com