On the panel discussion at Dconf day 3

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Sun Sep 10 03:46:44 UTC 2023


On 10/09/2023 2:12 PM, Adam Wilson wrote:
> For the moment EH is a problem, but it's known problem, and one that was 
> discussed at length at DConf. From what I gathered Walter wants to move 
> in the direction of a Herb Sutter style system where exceptions are 
> returned up the stack silently via a shadow value in the return 
> statement. It's actually a pretty elegant solution. It's not here now 
> because of the pause, but it's coming because Walter wants it.

I want it as well, and have done work towards it.

https://github.com/rikkimax/DIPs/blob/value_type_exceptions/DIPs/DIP1xxx-RC.md

It needs sumtypes to be a complete design, which is the current sticking 
point.


More information about the Digitalmars-d mailing list