Creator of ZeroMQ and AMQP comments on error handling

José Armando García Sancio jsancio at gmail.com
Sun Jul 15 15:26:53 PDT 2012


On Sun, Jul 15, 2012 at 3:00 PM, Tobias Pankrath <tobias at pankrath.net> wrote:
>> What do you all think?
>
>
> All his arguments about C++ exceptions hold for plain return values, too.
>

Yes but he would said that is not the point of his article. I think
his point is that if you decide not to use exception in C++, for the
reason he and others have mentioned, then C++'s classes/structs become
nothing more than C structs with an uglier/more verbose syntax.

I am wondering if you can extend his argument to D. Implementing RIIA
becomes more verbose. The scope keyword is useless. Thoughts?

Thanks,
-Jose


More information about the Digitalmars-d mailing list