Numeric Separators

Numbers themselves are an abstraction

 

18001231242
12251995

193299

Here are some numbers...

 

1.800.1231.242
12/25/1995

1,932.99

When we show these to users we use separators

anylanguageisanabstrationandanyefforttodisplayitascharacterscanbenefitfromseparators

programming languages involve many kinds of numbers that you type and the language parses

let a = 1234121,
    b = 0x010101,
    c = 0xF,
    d = 0b1111

Numeric Separators provide a language separator so that your code can benefit from the same idea

let a = 1_234_121,
    d = 0b1111_1111

deck

By Brian Kardell