Worst ideas/features in programming languages?
Atila Neves
atila.neves at gmail.com
Tue Nov 9 17:16:52 UTC 2021
On Tuesday, 9 November 2021 at 16:44:50 UTC, Timon Gehr wrote:
> On 09.11.21 16:39, Atila Neves wrote:
>> On Tuesday, 9 November 2021 at 13:26:20 UTC, Ola Fosheim
>> Grøstad wrote:
>>> [...]
>>
>> If there are no exceptions and one is returning regular
>> values, then the call stack is... the call stack. Given that
>> "?" returns the original failure with whatever extra data it
>> had, I really don't see what the difference is.
>>
>>
>
> Having a stack trace with line numbers is a big deal in case
> the exception was unexpected.
Good point. I hadn't thought of that.
More information about the Digitalmars-d
mailing list