Throwing specific Error Obejct for asserts
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Thu Jan 10 13:00:05 PST 2013
On 1/10/13 11:56 AM, monarch_dodra wrote:
> On Thursday, 10 January 2013 at 18:31:17 UTC, Andrei Alexandrescu wrote:
>>> And using "assertError" also still isn't as convenient as "assert"
>>
>> Please. You have the entire vocabulary minus assert.
>>
>>
>> Andrei
>
> Fine. I know how to take a hint.
OK OK now you're making me feel bad for being abrupt :o). There is a
back story to this. Generally we're trying to stem a tide of big
trenches built around small points in this forum (things like the
"one-click" issue in the changelog, hiding member variable names, etc).
In such discussions we sometimes latch on one simple thing and set great
store to it, to the point of losing a sense of proportion to its actual
importance.
There must be a way to say: "OK, the point has been understood and well
taken, but it has not been convincing enough" without getting anyone
angry and without engendering a rehash of the argument.
Andrei
More information about the Digitalmars-d
mailing list