4 ms·
> the situation is, in the worst case, as good as when types are mandatory The worst case is actually worse than when types are mandatory, since you can get an
by mitt_romney_12 2y ago
> the situation is, in the worst case, as good as when types are mandatory
The worst case is actually worse than when types are mandatory, since you can get an error in the wrong place. For example, if a function has the wrong type inferred then you get an error when you use it even though the actual location of the error is at the declaration site. Type inference is good but there should be some places (ex. function declarations) where annotations are required.