Deprecate implicit conversion between signed and unsigned integers
monkyyy
crazymonkyyy at gmail.com
Sun May 12 15:40:28 UTC 2024
On Sunday, 12 May 2024 at 13:32:36 UTC, Paul Backus wrote:
> D
> I believe this change would be received positively by existing
> D programmers, since D's willingness to discard C and C++'s
> mistakes is one of the things that draws programmers to D in
> the first place.
D often takes a worse of both worlds; bad defaults and verbose
handling
size_t(-1) >0 is a problem with indexes being unsigned for a
theatrical computer with >9334 petabytes of ram (2^63) being the
wrong tradeoff
No; types would need better defaults before even considering
adding verbosity id rather see breaking changes.
More information about the dip.ideas
mailing list