3 ms·
> You either need type-checking or you don't. That's not really correct. In general, nobody needs type checking (it's not like there's any actually done where
by masklinn 16y ago
> You either need type-checking or you don't.
That's not really correct. In general, nobody needs type checking (it's not like there's any actually done where it would be needed the most), but it's "free" error checking. Always nice to have.
But it is a feature to balance against others.
Anyway, considering how weak the type systems of "industry standard" languages are as opposed to Ada, or MLs, or Haskell, the common type-checking trope is mostly a huge joke.
- agentultra 16y agoType checking has many benefits other than making assertions about value types. It can provide hints to the compiler and has proven useful in some models of parallel computation. It isn't simply "free error checking." One should be able to discriminate from problems that require type-checking. It just seems that in most cases it isn't actually required.