|
|
|
|
|
by dmitriid
2847 days ago
|
|
> How is the compiler catching your logic bugs? It doesn't, and I agree with your sentiment. IIRC, type-related errors account for ~10% of bugs. If (and only if) types are tied into your tooling ecosystem (for example, an IDEs that uses that info to full extent to aid in code completion, refactoring, code analysis etc.), they are very useful. |
|
This sounds implausible to me unless they're only counting bugs that have slipped through QA and have later been fixed in production. In my experience the compiler catches maybe 95% of my errors I write. Most of those would be caught by my unit tests or my manual testing, and a few more would be caught by the QA team, but it's much nicer and faster to get notified about them immediately.