2 ms·
> Perhaps I have not worked in a large code bases to understand the problems Basically, yes. In a large codebase the steps in your example could well be sepa
by biorach 3y ago
> Perhaps I have not worked in a large code bases to understand the problems
Basically, yes.
In a large codebase the steps in your example could well be separated by thousands of lines of code, with much branching, or perhaps complicated inheritance hierarchies.
In that case leveraging type hints to avoid logic errors can avoid a lot of hard-to-spot bugs