News for hackers. Stuff that matters.
Re:TypeScript vs. ReasonML by Vinnl on Wednesday September 04, 2019 @09:00AM (#20876739)
`a` and `b` would explicitly be cast to any, which is forbidding in strict mode, which is TypeScript's default and recommended mode.
Re:TypeScript vs. ReasonML by virtualwhys on Wednesday September 04, 2019 @09:09AM (#20876807)
Which is exactly the author's point, in TS you must specify the types (to guarantee type safety), whereas in MLs parameters can be inferred.