3 ms·
Types are just one kind of static analysis. So it makes sense that you'd want the superset rather than the subset.
by nicoburns 7y ago
Types are just one kind of static analysis. So it makes sense that you'd want the superset rather than the subset.
- naasking 7y agoIt's not so clear cut. Types are compositional, by definition. Static analysis needn't be compositional, and so a small change could cause dramatic and unpredictable long-range effects elsewhere in your code. Figuring out what changed or what went wrong can be a nightmare.