-
Notifications
You must be signed in to change notification settings - Fork 205
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
Long number literals are unreadable #1
Labels
request
Requests to resolve a particular developer problem
Comments
lrhn
added
the
bug
There is a mistake in the language specification or in an active document
label
Jun 28, 2018
lrhn
added
request
Requests to resolve a particular developer problem
and removed
bug
There is a mistake in the language specification or in an active document
labels
Jun 29, 2018
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dart allows integer literals up to 64-bits, which means that the following integer literals are allowed:
Such a number literal is unreadable, and hard to write. It's practically impossible to read the number of digits, and you can only write the number by counting in your head.
Dart should improve the syntax of number literals to make such numbers more easily readable and writable.
Proposed solutions: #2 (digit separators)
The text was updated successfully, but these errors were encountered: