Closed giann closed 1 year ago
Avoids runtime coercion and removes ambiguity for the user
Alternatively we could introduce int and float while still keeping num. Letting the user choose if we wants to deal with the distinction or not.
int
float
num
1 + 2.5
Avoids runtime coercion and removes ambiguity for the user