Re:The Joy of Haxe
by segmondy on Saturday October 20, 2018 @03:36PM
(#18265000)
I really disliked Javascript and swore of it no matter how much it took over the world till typescript. If typescript is not enough, I'll use another language go/python and use web assembly to generate js. js is a byte code to me. However, the advantage of typescript is that I can pull in a js lib and use it.
[ Parent
| on HN ]
Same with haxe, you can use an untyped js lib with the `untyped` keyword [0] or use an extern to enable strict typing[1] (like TypeScript's d.ts)
[0] https://haxe.org/manual/target-javascript-injection.html
[1] https://haxe.org/manual/target-javascript-external-libraries...