A few questions
Jacob Carlborg
doob at me.com
Tue Jun 30 08:05:14 UTC 2020
On 2020-06-30 02:45, Andrei Alexandrescu wrote:
> On 6/29/20 6:58 PM, aliak wrote:
>> Or return a SumType/Either/Expected/etc?
>
> Affirmative!
So the first thing to do would be to come up with a unified error
reporting mechanism that doesn't use exceptions.
I like the zero overhead exceptions C++ proposal [1]. That requires
language support, but it would allow us to use the existing
try-catch-finally syntax.
[1] http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0709r0.pdf
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list