![]() ![]() The way it does types means that you don’t have to add the types yourself most of the time, which results in even more lean code. It was quite frustrating because ReScript looks a lot like JavaScript. While the branding and duplicated documentation ( Bucklescript vs Reason, then ReScript last Fall) was confusing, I got over it and the docs for the most part are pretty good, and they provide enough examples. Like TypeScript, it can integrate with JavaScript libraries “as-is”, which means some of the types won’t always make sense, nor are they consistent, or they may be overly complicated because of the way the JavaScript library was designed. ReScript’s types are powerful, but like TypeScript can get pretty deep, quickly. Early Strugglesĭespite it’s much cleaner syntax compared to TypeScript, I still struggled to make a lot of headway in learning Reason/ReScript. My hope is it will inspire you to check out what ReScript has to offer compared to TypeScript. ![]() I wanted to cover what I’ve learned in the past 2 years, and even this weekend. I spent the past couple of years playing around with Reason, which later split off into ReScript: the OCAML for JavaScript developers. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |