4 ms·
> Typing helps the most with large, venerable projects I disagree. I've started using types from the ground up and it helps almost equally at every stage of th
by kortex 5y ago
> Typing helps the most with large, venerable projects
I disagree. I've started using types from the ground up and it helps almost equally at every stage of the game. Also I aggressively rely on autocomplete for methods. It's faster this way than usual "dynamic" or "pythonic" python.
Part of it might be exactly because writing my datatypes first helps me think about the right abstractions.
The big win with python is maybe 2-10% of functions, I just want to punt and use a dict. But I have shifted >80% of what used to be dicts to Models/dataclasses and it's so much faster to write and easier to debug.
- mixmastamyk 5y agoI don’t need to aggressively rely on tools, they are merely in the background. Perhaps what the earlier post about experience was thinking. Also, what makes you think I’m not aware of datatypes? Currently working eight hours a day on Django models.