2 ms·
An intermediate goal when using static types is that the checked-in code should have type annotations that are guaranteed correct, so you can rely on them when
by skybrian 8y ago
An intermediate goal when using static types is that the checked-in code should have type annotations that are guaranteed correct, so you can rely on them when reasoning about the code, either manually (just by reading it) or automatically (using tools).
Traditionally this is done in a compiler, but it could also be done in another tool like some kind of linter, provided that it's always run before committing a patch and/or as part of a continuous build.