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

Long number literals are unreadable #1

Open
lrhn opened this issue Jun 28, 2018 · 0 comments
Open

Long number literals are unreadable #1

lrhn opened this issue Jun 28, 2018 · 0 comments
Labels
request Requests to resolve a particular developer problem

Comments

@lrhn
Copy link
Member

lrhn commented Jun 28, 2018

Dart allows integer literals up to 64-bits, which means that the following integer literals are allowed:

100000000000000000000
0x4000000000000000

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)

@lrhn lrhn added the bug There is a mistake in the language specification or in an active document label Jun 28, 2018
@lrhn 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
mit-mit pushed a commit that referenced this issue May 12, 2019
Update implementation-plan.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request Requests to resolve a particular developer problem
Projects
None yet
Development

No branches or pull requests

1 participant