Comment

Comment by jbverschoor

It's simply incorrect..

> Although I didn’t write any types by hand, the arguments of this function are typed. Why don’t we have to write types in ReasonML?

  let sum = (a,b) => a + b;
Is perfectly fine for typescript too. As for:

  let formatName = product => "Name: "+product.name;
So I stopped reading there.
parent jbverschoor 7 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton