Regarding the proposed Binray Literals Deprecation
H. S. Teoh
hsteoh at qfbox.info
Fri Sep 9 23:21:38 UTC 2022
On Fri, Sep 09, 2022 at 11:10:16PM +0000, 0xEAB via Digitalmars-d wrote:
> On Friday, 9 September 2022 at 16:55:18 UTC, Puneet Goel wrote:
> > Please reconsider binary literal deprecation.
>
> +1
>
> funfact, PHP got them as well:
>
> ```php
> <?php
> var_dump(0b1011); // int(11)
> var_dump(0b0011_1111); // int(63)
> ```
PHP has all sorts of things I'm not sure is wise to emulate. Just
because something is in PHP doesn't make a good argument for including
it in D. :-D
T
--
A computer doesn't mind if its programs are put to purposes that don't match their names. -- D. Knuth
More information about the Digitalmars-d
mailing list