RE: [Flashcoders] using prototypes -bad or good?

2005-10-21 Thread zwetan
> > What is really the opinion on using prototypes now when as2 is being > used? > > Prototypes can be used, but should it be used? > Why it should not be used ? what valid reason ? > I got a friend who like doing prototypes and then making an Extension of > it. > So in the fla-file you can > >

Re: [Flashcoders] using prototypes -bad or good?

2005-10-21 Thread Stan Vassilev
As2 compiles classes down to prototypes. So feature-wise and speed-wise it's the same thing for the player. Prototype allows slightly better tuning of your code (when to put "this" when not, how to name the getter/setter etc.) but it has little practical benefit. You can still mix prototype de