News for hackers. Stuff that matters.
Re:Principle of Least Astonishment by reallydontask on Tuesday April 07, 2020 @03:52AM (#22801206)
That's one of the arguments I used. We used C# and he actually did some noddy perf tests the conclusion of which where:

It's slower but only adds 0.01 s as compared to the a version not using exceptions. This was about 3 orders of magnitude slower (probably more under load would be my guess)

+1 for all the extra work to prove to himself that he had taken the right approach.

-10 For refusing to listen, ignoring data and cherry picking articles on C about exception handling (Of course they're not going to use exceptions, they don't exist)

There are no comments on this comment yet.