Evolving the D Language
Nick Treleaven
nick at geany.org
Fri Jul 7 13:19:51 UTC 2023
On Friday, 7 July 2023 at 10:57:57 UTC, IchorDev wrote:
> Hexstring literals,
They were first deprecated on Mar 01, 2018:
https://dlang.org/changelog/2.079.0.html#hexstrings
And removed in 2.086, so it's probably unlikely that any
maintained code is using them.
> complex and imaginary floating point types & the corresponding
> literals,
Deprecated in 2.097, maybe a good candidate to obsolete instead.
> built-in 128-bit integer types,
cent and ucent are already an error as of 2.100. Were they even
implemented?
> and octal literals, I think could all be added back to D
> without causing much detriment to D users who don't want to use
> them.
...
> 2. Ideally octal literals would have a better syntax. (e.g.
> "0o123")
Changing the syntax just for an obsolete feature would send the
wrong message. People rarely use octal so it doesn't need to be
in the language, library is enough. The C syntax is indeed bug
prone - leading zero.
More information about the Digitalmars-d-announce
mailing list