3 ms·
I love type hints. They make the code so much more readable. I wish they could do more, but knowing what the programmer intended for a variable is huge. Now, wh
by jmugan 5y ago
I love type hints. They make the code so much more readable. I wish they could do more, but knowing what the programmer intended for a variable is huge. Now, when I see code without type hints I think, "Oh man, now I have to dig into everything to know what anything is."
- mountainriver 5y agoYeah this is such a huge benefit that’s rarely discussed. It wildly increases the understanding of a code base which makes developers more productive and safe
- vermarish 5y agoYeah. I usually don't bother with type hints for local variables, but for parameters and return types, it makes skimming old code so much easier.