3 ms·
> so much potential to be what Typescript has become the problem really is that typescript was designed to be backwards compatible with javascript - aka, valid
by chii 5y ago
> so much potential to be what Typescript has become
the problem really is that typescript was designed to be backwards compatible with javascript - aka, valid js is valid typescript. This is a pretty big constraint.
Haxe could never do this imho. It's got it's own design philosophy. I personally like haxe more, but typescript does have the advantage of the above feature, and a more robust typesystem as a result.
The distinguishing feature of haxe is the macro system - which lets you generate code at compile time. It's almost as powerful as LISP, but in a familiar syntax.