This content has been marked as final. Show 4 replies
not much in as2: the compiler may alert you to some errors before executing your code if you type variables. but it may not so it's not terribly useful. as3 is much more rigorous in this respect.
Thanks for your reply. But what do you mean by "as3 is much more rigorous in this respect."?
Do you mean it is the standard way of declaring variable types in actionscript? Without declaring, will results in difficulties to debug bugs?
i mean that as3 (= actionscript 3) requires variable typing in most situations or the flash compiler will throw an error.
and no, failing to use strict typing won't cause any debugging problems.
there's also some "feeling" that strict typing enhances code efficiency, but i haven't seen anything convincing on this.