Regarding the proposed Binray Literals Deprecation

0xEAB desisma at heidel.beer
Sat Sep 17 19:38:52 UTC 2022


On Saturday, 17 September 2022 at 19:33:50 UTC, Salih Dincer 
wrote:
> On Saturday, 17 September 2022 at 17:22:33 UTC, Loara wrote:
>> 
>> On the other hand removing it seems useless, I'd prefer to 
>> issue a warning during compilation every time a binary literal 
>> is used and to allow user to disable these warnings with a 
>> compiler flag if you really need to use these literals.
>
> This idea sounds good. Since Walter is determined, he should 
> give us a compiler flag.
>
> SDB at 79

I fail to see the value of such a flag. If there were no plan to 
remove or deprecate them, why issue a warning in the first place?!

There’s nothing wrong with binary literals (as in potential 
pitfalls), isnt’t there?


More information about the Digitalmars-d mailing list