Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict usage of offset quantities #29

Open
propensive opened this issue Jun 12, 2023 · 0 comments
Open

Restrict usage of offset quantities #29

propensive opened this issue Jun 12, 2023 · 0 comments
Assignees
Labels
api Relates to the API design enhancement An improvement to existing functionality minor Has only a small impact for the majority of users

Comments

@propensive
Copy link
Owner

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.)

@propensive propensive self-assigned this Jun 12, 2023
@propensive propensive added enhancement An improvement to existing functionality minor Has only a small impact for the majority of users api Relates to the API design labels Jun 12, 2023
@propensive propensive added this to the Primevère milestone Jun 12, 2023
@propensive propensive removed this from the Primevère milestone Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Relates to the API design enhancement An improvement to existing functionality minor Has only a small impact for the majority of users
Projects
Status: Todo
Development

No branches or pull requests

1 participant