[osflash] Enforce the use of try block... catch

erixtekila erixtekila at gmail.com
Thu Aug 24 15:14:47 EDT 2006


> The difference is that in haXe instead of using the exception 
> mechanism,
> we can return an "enum" that forces the use to "switch" and handle all
> the different cases, including the exception.
>
> Everything is entirely strictly-typed thanks to type-inference.
Very clever… as usual !

> Hope that helps,
Of course it does.
-----------
erixtekila
http://blog.v-i-a.net/




More information about the osflash mailing list