A Philosophy of Software Design
Basile B.
b2.temp at gmx.com
Thu May 28 20:50:57 UTC 2026
On Sunday, 24 May 2026 at 17:15:12 UTC, Zz wrote:
> On Sunday, 24 May 2026 at 01:42:43 UTC, Walter Bright wrote:
>> The first sentence of the chapter "Define Errors Out Of
>> Existence" says:
>>
>> "Exception handling is one of the worst sources of complexity
>> in software systems."
>>
>> I suspect that adding EH to D was a mistake. It certainly was
>> a mistake to build it into Unicode string handling. I'd like
>> to see if we can figure a way to do Phobos without exception
>> handling.
>
> Might find this interesting.
>
> https://rm4n0s.github.io/posts/3-error-handling-challenge/
>
> Zz
That's a good challenge, really. The problem I have with that
however is very simple. Why the heck do you need a stack trace at
runtime ? If you need a stack trace then it's probably cuz you
have encountered a serious bug. Time to run the software in gdb
you see.
More information about the Digitalmars-d
mailing list