Just by switching to using type hints, I've already found a ton of places where better design choices get rid of circular imports.
I can't go back to untyped Python...
This reminds me of the time I became a believer of unit tests after the first test suite I ever wrote uncovered 3 separate bugs.
I can't go back to untyped Python...
This reminds me of the time I became a believer of unit tests after the first test suite I ever wrote uncovered 3 separate bugs.
Reposted from
Sebastian Castro
I was bored enough tonight to see what it would take to enforce Python type hinting in one of my personal repos.
This is gonna take a while...
This is gonna take a while...
Comments
I'd say about 60% through right now -- it's PyRoboSim, BTW.