Re:BuckleScript: write JavaScript faster, safer and smaller
by phpnode on Saturday January 21, 2017 @09:51AM
(#13450234)
It is much more like JavaScript than ocaml and so you get a familiar language but one which benefits from all the cool things that ocaml can do.
[ Parent
| on HN ]
Re:BuckleScript: write JavaScript faster, safer and smaller
by k__ on Saturday January 21, 2017 @11:15AM
(#13450671)
Another n00b question: What are "all the cool things that ocaml can do"?
I only saw rather simple typing examples, which didn't seem much different from what TypeScript can do.
On the other hand I read often that ocaml doesn't have runtime errors, which I certainly get with TypeScript.
Re:BuckleScript: write JavaScript faster, safer and smaller
by yawaramin on Saturday January 21, 2017 @12:57PM
(#13451187)
This is a good overview I think, although it doesn't get into specifics: https://realworldocaml.org/v1/en/html/prologue.html#why-ocam...
Of course the rest of the book is a great read too if you're so inclined.