[m-dev.] for discussion: design issue for new integer types

Julien Fischer jfischer at opturion.com
Fri Oct 28 23:59:24 AEDT 2016


On Fri, 28 Oct 2016, Peter Wang wrote:

> Underscores will also help the readability of literals in other bases.
> For hexadecimal you'd probably want to separate digits into groups of
> 4 or 8.
>
> When working with some protocol or file format, it may be useful to
> group digits according to how information is packed into certain bits
> in that format.

In a word, this.

> You could have different rules depending on the base, or only check
> decimal literals.

You could; you won't.

Julien.


More information about the developers mailing list