4 ms·
In some cases this can be fixed by introducing a new type, especially if the language makes it nice to support as a literal. This confers additional benefits in
by Terr_ 7y ago
In some cases this can be fixed by introducing a new type, especially if the language makes it nice to support as a literal. This confers additional benefits in terms of type-checking.
For example, changing an ambiguous foo(float x, float y) into foo(distance x, weight y) .