*I like events - but I am no computer scientist. Events allow flexibility. *

On Wed, Sep 3, 2008 at 9:16 AM, S0 F1 <[EMAIL PROTECTED]> wrote:

> Any thoughts on whether it's more efficient (in terms of development and
> player performance) to use Singleton's (with static public 'getInstance' or
> such) instead of Event's when developing mid-sized applications? (for
> classes that *are* Singleton's of course). Asking this in regards to when
> you know no other class needs notification.
>
> It seems a lot cleaner in terms of code (not having to create and listen
> for
> events). Just a direct call - but what about performance speed, etc.
>
> Is this good practice.
>
> Cheers.
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to