Worst ideas/features in programming languages?
Paul Backus
snarwin at gmail.com
Mon Oct 11 21:21:21 UTC 2021
On Monday, 11 October 2021 at 20:41:33 UTC, James Blachly wrote:
> Likewise mir algebraic has Nullable. But what it (and D overall
> as a builtin) is really missing is Result type (with Ok and Err
> tags) -- will be eagerly checking out Chaloupka's `expected`
> package soon.
The real missing piece here IMO is DIP 1038 [1]. Once it is fully
accepted and implemented, defining a Result type will be trivial.
[1]
https://github.com/dlang/DIPs/blob/b30b94d40bd76b513d31509f8e40f7c38d111929/DIPs/DIP1038.md
More information about the Digitalmars-d
mailing list