You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The notation 1s is the number 1 with the postfix s. I'm concerned that reserving short postfix like this may cause trouble. Furthermore, this means all units would require reserved postfix names.
An alternative would be to have a special notation for units, where instead of using the general postfix notation, we'd have a postfix notation that only works after numbers. It could even have special symbolic arithmetic, so that you could write 1km/h having only defined units m and h, and it would correctly convert to unit m/s.
This is really low priority, I'm mostly seeking feedback and input here…
The text was updated successfully, but these errors were encountered:
Currently, some examples contain code like this:
The notation
1s
is the number1
with the postfixs
. I'm concerned that reserving short postfix like this may cause trouble. Furthermore, this means all units would require reserved postfix names.An alternative would be to have a special notation for units, where instead of using the general postfix notation, we'd have a postfix notation that only works after numbers. It could even have special symbolic arithmetic, so that you could write
1km/h
having only defined unitsm
andh
, and it would correctly convert to unitm/s
.This is really low priority, I'm mostly seeking feedback and input here…
The text was updated successfully, but these errors were encountered: