3 ms·
> where a compiler tests so much automatically Compilers don't necessarily check anything. Static analysis tools (including static type checkers) check things,
by dragonwriter 6y ago
> where a compiler tests so much automatically
Compilers don't necessarily check anything. Static analysis tools (including static type checkers) check things, and some compilers also include static analysis tools. But static analysis tools are often available beyond whatever a compiler provides.
- fiddlerwoaroof 6y agoAnd, some compilers (sbcl) can do fairly sophisticated static analysis on dynamically typed code.
- eyelidlessness 6y agoYes, you’re right. It’s often but not always the case that type checking and compilation are part of the same tool and flow. Thanks for adding that.