I learned programming in Flash and I use this everyday, almost
everyline ;)
because scope has always been one of the thoughest thing in Flash :-)
* cedric thanks ryanm
In my opinion (and in the opinion of many much more competent
developers than myself), it is always good to be explicit about scope,
because it removes any ambiguity from the code, drastically reducing
the possibility of expensive and time consuming breakage during
maintenance.
One more thing worth mentioning, and I don't say this to be rude or
as a slight to anyone on this list, but the opinion that the this
reference is bad and should be avoided seems to be unilaterally coming
from people who learned programming in Flash, while the opinion that
scope should be stated explicitly seems to be coming from people with
more formal training in software development and experience in
(non-Flash) real world development. Personally, I have to give more
weight to the opinions of people with more formal training and more
varied real-world experience, because there are some things you just
can't learn in a year or two of using Flash for web development. There
is a reason that experienced developers like to type those extra 5
characters, and it is to save time, money, and the embarrasment of
explaining to your boss that you deleted something without fully
understanding the implications.
ryanm
_______________________________________________
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