I would mention Result as well.
Rust devs are proud that they do not need to throw exceptions everywhere.
I’d also mention the fact that the last expression in a function is the result (no need for return), and that most structures are expressions (like if else is an expression, etc)
Great suggestions! I’ve added a section for result and for expressions and the lack of explicit return statements.
you won’t find any
types in ReScript
I am sorry to break it to you, but there is an unknown type.
But it is just a predefined abstract type.
Ah! The more you know!
How would one actually encounter this type?
Thanks for the feedback! I published it earlier today and so far it’s getting some decent views