2 ms·
> about Javascript and web developers I’ve heard that the original React was built in SML, rewritten in OCaml, and later transcribed to JS (and now is develope
by winter_blue 4y ago
> about Javascript and web developers
I’ve heard that the original React was built in SML, rewritten in OCaml, and later transcribed to JS (and now is developed in ReasonML)[1].
We shouldn’t downplay the unmitigated[2] disaster of language design that JavaScript (and more broadly, the engineering disaster that dynamic typing) is.
Just the fact that React was/is created by a person who is functional, static, strongly typed language aficionado is a testament that good things in the JS world comes simply because of its entrenched status due to being the only directly supported language in browsers — not because of anything inherently good about JS.
[1] https://news.ycombinator.com/item?id=15209814 https://news.ycombinator.com/item?id=15209814
[2] Now partially mitigated by TypeScript.