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

Guillaume Piolat first.last at gmail.com
Mon Oct 25 15:45:29 UTC 2021


On Monday, 25 October 2021 at 14:52:55 UTC, Dennis wrote:
> - Module constructors
> - `lazy` parameters
> - `in` / `out` parameters
> - `in` / `out` contracts
> - Function body literals (`{}` instead of `() {}`)
> - Typesafe Variadic Functions (`foo(int[] a...)`)
> - String literals starting with `q`
> - The remaining octal literals (00-07)
> - `is()` expressions
> - `switch` with run-time variable cases
> - `switch` with string cases
> - `alias` reassignment
> - `__traits(compiles)`
> - `opDispatch`
> - `opCall`
> - `opApply`

You agree with 9 of my 10 proposals.
I agree with only about 10 of your 16 proposals.
It's easy to see why this is a bit hard to remove things in 
practice. :)


More information about the Digitalmars-d mailing list