It does not seem at all controversial to me, and I suspect that others feel the same. Perhaps it could be brought up extremely briefly, and if it does not have any dissent or further discussion wanted by anyone on the committee, it can be moved through. If someone does want to discuss something about it or doesn’t like it, the discussion can be tabled for after 3.0.
It just seems a bit silly to me to table such a trivial change for such a long time if there’s so little to discuss about it, and both the spec and compiler work are already complete.
I think they are not close enough to group. There is not (to my knowledge) any syntax that already has consensus (as 0b does) and fits neatly with the rest of the Scala syntax (e.g. a Rust-like i8 does not fit well with Int's lack of suffix and Long's L suffix). Additionally, there is no working implementation for it.
If you have a concrete proposal and an implementation, I do think it might be reasonable to tackle them together, but as it does not, I don’t think it adds anything to this proposal.
I was only joking when I suggested that if we support 0x_42 in Scala 2, people will lose interest in Scala 3. But it’s quite possible no one will have the resources to port their tables of binary constants to Scala 3 interpolator macros, that is, after they learn how to write interpolator macros.
However, since it takes about a year to merge a PR that corrects the caret in parse error messages, I think it’s reasonable for an actual feature to require in the 3-5 year range.
Some people boast how they’re moving the needle. I’m just trying to move the caret.
Of course, 0b is the Byte value zero. But we should deprecate that straight off and recommend 0B because it’s too easy to accidentally add a digit 0b1 and wind up with an Int. That’s probably more of a hazard in emacs than vi.
I don’t mean to make it into a meme, but could this be implemented with a macro-backed string interpolator? That way it doesn’t add to the language/compiler, and the niche users that suffer this absence gain an improvement?