2 ms·
D had underscores in numbers in its first version, and that was inspired by Ada. https://dl.acm.org/doi/abs/10.1145/3386323 https://dl.acm.org/doi/abs/10.1145/
by WalterBright 5y ago
D had underscores in numbers in its first version, and that was inspired by Ada.
https://dl.acm.org/doi/abs/10.1145/3386323 https://dl.acm.org/doi/abs/10.1145/3386323
Since D popularized it, many other languages added it. Even C is finally doing it (although using a ' instead of _, which I do not understand the rationale for).