Replies: 1 comment 1 reply
-
Sure! I think it's largely just a personal preference, but technically I do also take advantage of ReScript's tail-call compiler optimization. Initially the core algorithms were written in JavaScript, and one of the common pieces of feedback I received was to provide TypeScript support, which makes good sense. As I was evaluating adopting TypeScript I found that ReScript's compiler can also output TypeScript typedefs, and actually is quite good at it. I spent a good amount of time evaluating the switch in depth, and ultimately decided to go with it: I much prefer ReScript/OCaml's type system and compiler to TypeScript, and the type inference is amazing. ReScript excels at working with recursive data structures, I also find it encourages me to write generally smarter and safer code. There are of course some rough edges, like trying to figure out how to support Overall I'm quite happy with the decision and will soon be writing even more of the internal algorithms in ReScript |
Beta Was this translation helpful? Give feedback.
-
Hi @nick-thompson!
I'm just wondered why after looking into it in the context of #20.
Could you please tell more about it?
Beta Was this translation helpful? Give feedback.
All reactions