On Mon, 4 Apr 2022 at 13:45, David Mertz, Ph.D. <[email protected]> wrote:
>
> While units are certainly useful, I think this is FAR too large to add to 
> Python syntax. A library like "units" is great, but it really needs to be a 
> library, and not a small one.
>
> There are thousands of units in use in sciences, commerce, engineering, 
> ordinary life, etc. In all of them, it is not uncommon for the same few 
> letters to represent multiple things, depending on context.
>
> But as well as the sheer number, what is convertible to what, and in what 
> context, is very nuanced.
>

And that's exactly why I think that the *concept* of units could be
added to the language, with some syntax and low-level semantics, but
the actual units themselves belong in libraries.

ChrisA
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/6K5FEICNKFXZQQL4RYLJB5SK5YOFCUC7/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to