Phobos 3 Discussion Notes - 02-01-2024
aberba
karabutaworld at gmail.com
Sun Feb 4 22:55:36 UTC 2024
On Sunday, 4 February 2024 at 15:54:53 UTC, ryuukk_ wrote:
> On Sunday, 4 February 2024 at 12:35:02 UTC, Jonathan M Davis
> wrote:
>
> I get it, you are interested in the propagation mechanic, it
> can be done with error handling code too, take a look at
> Swift/Zig, take a look at Go2's proposal, many have succesfully
> moved away from EH, I learnt from them
>
> There is no reason to be stubborn about the way it is currently
> done in phobos, DMD was successfully built without exceptions,
> let's embrace and enhance this
No a fun of checking errors by return. Such code looks more
difficult to read than it should. So it possible but not ideal.
These language have gotten very little use out there. Exception
is proven and works.
>
> My game+engine are also successfully built without EH, and i'd
> love to move away from the C way of checking errors, and i'm
> envious of how other people are doing it with their other
> languages
More information about the Digitalmars-d
mailing list