Regarding the proposed Binray Literals Deprecation

Walter Bright newshound2 at digitalmars.com
Sat Sep 10 02:22:53 UTC 2022


On 9/9/2022 4:43 PM, Dave P. wrote:
> C23 is actually adding binary literals (and you could already use them with gcc 
> and clang).

C is regularly adding small window dressing features and not anything that would 
fundamentally improve the language :-/

> Although I do agree with Walter about how they’re not very useful. 
> They’re only practical for small numbers and at that point just learning what 
> the small hex literals are in binary is not a big deal.

Hex values are far easier to read, too. Have you ever put the tip of your pencil 
on the screen to count the number of 1's? I have. Binary literals are user 
unfriendly.


More information about the Digitalmars-d mailing list