[haXe] Why haxe do not support that?
Nicolas Cannasse
ncannasse at motion-twin.com
Mon Sep 11 09:32:11 CEST 2006
> 1) no built-in error class
Any value can be an exception is haXe. There is no need to define a
class to throw a custom error.
> 2) can not use Function.apply, arguments, arguments.callee which are
> standard in ECMAScript.
You can use Reflect.callMethod instead of Function.apply
"arguments" and "callee" are two features that are not supported,
because they need native support which is expensive in terms of
performances.
> 3) do not support variable length parameter
See up.
> 4) lack some inspect function, such as get the object which a method
> belongs to, get the class which an object belongs to
Everything is in the "Type" API : http://haxe.org/api/Type
See also the "here" identifier : http://haxe.org/tutos/trace
Nicolas
More information about the Haxe
mailing list