Patrick Matte wrote:

> public function x(y:Object):void
> {
>
> }
>
> Or this
>
> public function x(y:*):void
> {
>
> }

Or, you can simply turn strict mode off. I tend to agree with Steven
Sacks, though. There's a really good reason for strong typing--mainly,
it's easier to find bugs at compile time than at run time.

Of course, C and C++ are strongly typed, and they allow you to pass in
a pointer, which could point to any type of data. I've always been
wary of that, but it's there.

Cordially,

Kerry Thompson
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to