rfc:numeric_literal_separator
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:numeric_literal_separator [2019/05/29 19:06] – Add discussion section about IDEs automatically grouping digits theodorejb | rfc:numeric_literal_separator [2019/08/19 19:58] (current) – Separators in C# aren't just a proposal theodorejb | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Author: Theodore Brown < | * Author: Theodore Brown < | ||
* Based on [[https:// | * Based on [[https:// | ||
- | * Status: | + | * Status: |
* Discussion: https:// | * Discussion: https:// | ||
* Target version: PHP 7.4 | * Target version: PHP 7.4 | ||
Line 69: | Line 69: | ||
===== Unaffected PHP Functionality ===== | ===== Unaffected PHP Functionality ===== | ||
- | Grouping | + | Adding an underscore between |
- | Underscores in numeric literals will be stripped out during the | + | change its value. |
- | lexing | + | stage, so the runtime |
<code php> | <code php> | ||
Line 229: | Line 229: | ||
* Ada: single, between digits [[http:// | * Ada: single, between digits [[http:// | ||
- | * C# (proposal for 7.0): multiple, between digits [[https:// | + | * C#: multiple, between digits [[https:// |
* C++: single, between digits (single quote used as separator) [[http:// | * C++: single, between digits (single quote used as separator) [[http:// | ||
* Java: multiple, between digits [[https:// | * Java: multiple, between digits [[https:// | ||
Line 243: | Line 243: | ||
===== Vote ===== | ===== Vote ===== | ||
- | Add numeric literal | + | Voting started 2019-05-30 and ended 2019-06-13. |
+ | |||
+ | <doodle title=" | ||
+ | | ||
+ | | ||
+ | </ | ||
===== References ===== | ===== References ===== |
rfc/numeric_literal_separator.1559156814.txt.gz · Last modified: 2019/05/29 19:06 by theodorejb