If you could make any changes to D, what would they look like?

Elronnd elronnd at elronnd.net
Wed Oct 20 10:07:40 UTC 2021


- Limited implicit conversions (adam has spoken about this before)

- First class support for non-nullable pointers and explicitly 
optional pointers

- Class instances should not be reference types

- Macros (cf core.reflect/codegen)

- || and && should not coerce to boolean (x || y is x ? x : y 
(but without double eval); x && y is x ? y : typeof(y).init)


More information about the Digitalmars-d mailing list