News for hackers. Stuff that matters.
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.
Re:The Joy of Haxe by haxiomic on Saturday October 20, 2018 @03:41PM (#18265021)
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...

Re:The Joy of Haxe by platz on Saturday October 20, 2018 @04:17PM (#18265200)
I like typescript.

I also like purescript - which I like to think of as 'typescript, where the types have teeth' (I like that I can also pull in a js lib and use it)