by mbb70 · 1y ago · 0 comments
The advice "use 'any' if it's too much work to type" is dangerous/bad advice for some developers because they don't have a well tuned definition of 'too much work', and they might not have all the tricks in the toolbox for every situation.
But legacy code or poorly typed libs can be an infinity time suck, and the most pragmatic approach might be to cut your losses, slap an 'any' on it and move on.
A great mentor gives the best (different axis than good/bad or safe/danger) advice for an individual in a specific situation.
No comments yet.