Re:Python types have an expectations problem
by nickm12 on Tuesday January 30, 2024 @02:56AM
(#39187462)
This is great advice. It's called "gradual typing" for a reason. You should set things up so that your new code has typing enforced and then you gradually add typing to older code opportunistically. I've used Mypy and there are a lot of knobs that let you get more and more strict over time and also apply them on a file-by-file basis.
[ Parent
| on HN ]
There are no comments on this comment yet.