4 ms·
I've been using Sorbet for a while integrated in my SublimeText. I have never added a type signature, not even once. I just use it to prevent me from silly mist
by pqdbr 6y ago
I've been using Sorbet for a while integrated in my SublimeText. I have never added a type signature, not even once. I just use it to prevent me from silly mistakes (like changing a variable name somewhere and breaking code downstream). The immediate red underline, which we are used to having in JS with ESLint, is such a great productivity booster.
- ufuk 6y agoThis is a great way to use Sorbet and get its benefits without having to invest 100% into typing. Great example, thanks for sharing.
- ibraheemdev 6y agoIt is the same with Typescript. The VSCode Typescript plugin gives you type signatures of DOM Related functions that you would otherwise never get.