Restrict usage of offset quantities #29
Labels
api
Relates to the API design
enhancement
An improvement to existing functionality
minor
Has only a small impact for the majority of users
There's currently nothing to stop you adding two Celsius quantities together, even though it probably doesn't make sense. The reason is that a figure quoted "in Celsius", without more context, could mean two different things: either an absolute temperature, or as a difference between two absolute temperatures. The latter should rightly be quoted in Kelvin, and never as an offset quantity. (The same applies to Fahrenheit.)
The text was updated successfully, but these errors were encountered: