Regarding the proposed Binray Literals Deprecation

Preetpal preetpal.sohal at gmail.com
Sat Sep 17 21:57:41 UTC 2022


On Saturday, 17 September 2022 at 21:39:59 UTC, Walter Bright 
wrote:
> On 9/17/2022 10:22 AM, Loara wrote:
>> The point is that a lot of people comes from C/C++ and they're 
>> used to use binary literals
>
> Not really. C11 doesn't have binary literals. C++ added them 
> quite recently.

FWIW, 
[C#](https://devblogs.microsoft.com/dotnet/new-features-in-c-7-0/#literal-improvements), [Java](https://docs.oracle.com/javase/8/docs/technotes/guides/language/binary-literals.html), [JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Numbers_and_dates#binary_numbers), [Python](https://docs.python.org/3/reference/lexical_analysis.html#integer-literals) and [Ruby](https://ruby-doc.org/core-3.1.2/doc/syntax/literals_rdoc.html#label-Integer+Literals) all have binary literals.


More information about the Digitalmars-d mailing list