Closed
Description
Right now both of the following are legal:
let foo = 9.02e6;
let bar = 9.02E6;
In the interest of There's Only One Way To Do It, I don't see why having two slightly different forms for the same result is necessary. I thereby propose that the capitalized form be removed because:
- All other letters in numeric literals (
i
,u
,f
) are lower case. Mandatinge
would make literals more consistent. - Among numbers, a lowercase letter is easier to recognize at a glance than an uppercase one, making this a readability win.
This also makes the grammar slightly simpler. But really I just care about not having two trivially different ways of doing the same thing.
Metadata
Metadata
Assignees
Labels
No labels