observer pattern question #1 (reference to subject)

castironpi at gmail.com castironpi at gmail.com
Thu May 8 20:21:24 EDT 2008


On May 8, 4:57 pm, Alan Isaac <ais... at american.edu> wrote:
> Ville M. Vainio wrote:
> > in case of stocks, you are probably monitoring several
> > stock objects, so the stock should probably pass itself to
> > the observer
>
> OK.  This is related to my question #2 (in a separate
>
> thread), where I'd also appreciate your comments.
>
> > analogous to a typical UI scenario where you have several
> > widgets forwarding events to one big observer - and they
> > *do* provide the event source and event type.
>
> That is a helpful comparison.
>
> > All in all, though, the right solution should be obvious
> > from the problem at hand.
>
> For CS types, maybe.  The rest of us are just trying to get
>
> things done without as much background and context.
>
> Thanks,
>
> Alan

My local vernacular calls them "carfulls" of people, which analogy to
the body of collective man, extends pretty far.

It's not the gas pedal we hate!  I'm schedule more coasting on shore.



More information about the Python-list mailing list