Regarding the proposed Binray Literals Deprecation

Steven Schveighoffer schveiguy at gmail.com
Tue Sep 13 18:36:01 UTC 2022


On 9/13/22 2:07 PM, wjoe wrote:
> On Saturday, 10 September 2022 at 02:22:53 UTC, Walter Bright wrote:
>> 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.
> 
> That's true only if you're working with hex values.
> 
> Besides, I've had to use the tip of a pencil to count Fs in hex values.
> Are you saying that hex is user friendlier when dealing with decimal 
> values, too ?

I've used the tip of a pencil to write out what the real bits are of a 
hex literal, because I can never remember what all of them actually mean.

-Steve


More information about the Digitalmars-d mailing list