Regarding the proposed Binray Literals Deprecation

Patrick Schluter Patrick.Schluter at bbox.fr
Wed Sep 14 08:54:34 UTC 2022


On Wednesday, 14 September 2022 at 05:58:53 UTC, Walter Bright 
wrote:
> On 9/13/2022 7:56 PM, Steven Schveighoffer wrote:
>> But it doesn't disprove the fact that *sometimes*, hex digits 
>> aren't as clear.
>
> Does sometimes justify a language feature, when there are other 
> ways?

Yes, definitely. Why use `foreach` sometimes when you have `for`, 
`while` and even `goto` to do it in another way?

>
> People often complain that D has too many features. What 
> features would you say are not worth it?

Clumsy Phobos solutions to replace simple elegant consistent 
language syntax.
For complex numbers, the language complexity it involves compared 
to a library solution is probably justified. For the `0b` 
literals definitively not.




More information about the Digitalmars-d mailing list