6 ms·
Many types discussions confuse representation with units. Representation errors can result in crashes. Unit errors, adding feet to furlongs, produce wrong ans
by anamax 5y ago
Many types discussions confuse representation with units. Representation errors can result in crashes. Unit errors, adding feet to furlongs, produce wrong answers.
Yes, weak representation-type systems can produce wrong answers (for example adding floats with integer instructions), but even strong representation-type systems can produce wrong answers that unit-type systems will catch.