2 ms·
This is one of those aspects where a good editor makes a big difference. I've recently moved from writing javascript in vim, to writing typescript in vim, to w
by josephg 8y ago
This is one of those aspects where a good editor makes a big difference.
I've recently moved from writing javascript in vim, to writing typescript in vim, to writing typescript using VSCode. Being able to hover over a variable and see a variable's type makes it easier to read complex code. This is useful irrespective of whether or not you're using type inference, since you don't need to hunt down the variable's declaration to figure out its type. And if you're reading back the compiler's type information through your IDE while programming, you may as well take advantage of type inference.