Re:Convert React JavaScript Code to TypeScript with Proper T...
by Waterluvian on Tuesday January 16, 2018 @02:09PM
(#16161180)
The one time I think, "oof I really would have liked types here" is when I begin digging deep through a stack of calls to understand what values I should expect and are valid. This hurt me in Python too until I began using type hinting, which in my opinion is the best of both worlds: documenting types but not forcefully enforcing typing.
[ Parent
| on HN ]
There are no comments on this comment yet.