Posts

Showing posts from April, 2023
Image
Functional Friday - Episode 4 Learning Rescript - Recursion, Async/Await and Pipes Welcome back to Functional Friday, the place where you can't distinguish a chicken breast from a function, since they're both curried 🥁! In the last last episode we started exploring ReScript functions, going through main differences compared to JavaScript and TypeScript. Because so, it's considered as a prerequisite before jumping in today's episode, so if you haven't read it yet I highly encourage you to do so. I consider the topics that we're going to cover today as advanced ones, even if they will probably become part of our daily tools. So don't feel discouraged if they'll sound complex at a first glance: they are. As a
Image
Functional Friday - Episode 3 Learning Rescript - Introducing functions Welcome back to Functional Friday, the place where a function didn't return because someone forgot to call her back 🥁! In the last episode we learnt how important expressions are in ReScript and how to use them at a very basic level, including how to define and use if expressions. Keeping up with this topic, in this week episode we'll see another form of expressions: functions. If you're here for the first time, I highly suggest you to read at least the second episode so you don't get lost too much (hopefully 😅). As a disclaimer, this episode will be quite technical hence more dense than previous ones; this means that you may find it harder to digest it