-
-
Notifications
You must be signed in to change notification settings - Fork 307
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
Underscore as thousands separator #1489
Comments
@baryluk, we researched this a little and couldn't find any country that uses this convention. Do you know who uses it, or is it just a notation you like ? |
@simonmichael ocaml allows underscores in numeric literals (https://caml.inria.fr/pub/docs/manual-ocaml/lex.html), so it is often used as a convenient separator in source code ( |
Just a notation I like and prefer. It is relatively country-neutral, and is cleaner than using other separators. As a person using quite a bit of D programming language, which had this feature for 15 years, I got acustomed for it. Afaik Go and C++ also now supports it. |
GHC has also supported this notation since 8.6.1: https://typeclasses.com/ghc/numeric-underscores |
In France - no, it does not exist here. |
We're discussing this again in chat, but I don't think we should add it without more motivation, since every added feature has a cost. Some examples of it used for accounting/data-tracking-type things in the wild could help. |
would be nice to have. At least for inputs, but also for outputs.
The text was updated successfully, but these errors were encountered: