Feedback from the Gripes and Wishes Campaign
ryuukk_
ryuukk.dev at gmail.com
Fri May 26 15:59:54 UTC 2023
On Thursday, 25 May 2023 at 15:36:38 UTC, Commander Zot wrote:
> On Friday, 19 May 2023 at 15:58:25 UTC, ryuukk_ wrote:
>>
>> For example:
>>
>> - **exception handing**: why use EH when you can have your
>> function return 2 values (error and result)
>
> oh god no. it leads to horrible code. just take a look at go.
That's not the point
Some platform doesn't have EH, and some projects ban the use of EH
If you want things to make it nicer than look at Zig/Swift and
have a mechanism to bubble things up
The point is the feature and what it allows/enable, the syntax is
second, let's agree on the idea first
More information about the Digitalmars-d
mailing list