News for hackers. Stuff that matters.
Re:TypeScript vs. ReasonML by a0 on Wednesday September 04, 2019 @11:44AM (#20878273)
Being a Vim/Merlin user I normally just type `<Leader>t` to see the type of the value under the cursor (this maps to `:MerlinTypeOf` if I recall correctly).

What I do use type annotations for is debugging. If the compiler finds a type error, in some situations it helps adding type annotations to find where the actual error is.

Re:TypeScript vs. ReasonML by johnisgood on Wednesday September 04, 2019 @12:48PM (#20878997)
I do use that feature, too, for functions, in Emacs. So in the mode line I see for example: Array.length: 'a array -> int. I find it quite useful.