Feedback from the Gripes and Wishes Campaign
Mike Parker
aldacron at gmail.com
Sat May 20 06:57:39 UTC 2023
On Thursday, 18 May 2023 at 17:16:24 UTC, user456 wrote:
>
> I have detected an incomplete sentence:
>
> "According to Walter in the January 2023 Quartely Meeting, sum
> types won't be the focus in D anytime soon, in favor of
> robustness. That's"
Thanks! The complete text is:
"According to Walter in the January 2023 Quartely Meeting, sum
types won't be the focus in D anytime soon, in favor of
robustness. That's 100 % reasonable. But if sum types appear,
non-nullable class references can go hand-in-hand with them: The
nullable reference ("X" in D2, in other languages "X?") is really
a sum type of the non-nullable reference ("X") and typeof(null).
And "?" can become universal shorthand for "sum type with
typeof(null)" not only for non-nullable class references, but for
any type."
More information about the Digitalmars-d
mailing list