HackerTrans
TopNewTrendsCommentsPastAskShowJobs

WorldWideWayne

no profile record

comments

WorldWideWayne
·11 वर्ष पहले·discuss
It is possible, just not probable. You're an outlier.
WorldWideWayne
·11 वर्ष पहले·discuss
The irony here is that people on HN do judge you if you live mostly in the C#/.NET world, but you're arguing against my suspicion of people who contribute to Mozilla.

Do you think it's a far stretch to say that people who actively use open source languages and libraries and contribute to Mozilla projects are much more likely to be biased against anything that Microsoft does?
WorldWideWayne
·11 वर्ष पहले·discuss
I didn't sling an accusation, I said "I suspect there could be some small amount of bias". If I were accusing, I would have said "this person is biased.". Despite what you say, I still think the suspicion is valid.
WorldWideWayne
·11 वर्ष पहले·discuss
Bad programmers write bad code in general, so basing your opinion of C#'s error handling system on their use of it seems unwarranted. Exception handling does not remain a mystery to many programmers, just many bad programmers. Aside from that, the author is a contributor to Rust so I suspect there could be some small amount of bias here.

> ...catching errors/exceptions where they can be fixed is difficult...

What's difficult? When your program is about to do something like say open a file - if you don't want an exception to be raised from that code, you wrap that code in a try...catch. In the catch block, you take corrective action.

The very simple bottom line with error handling in .NET apps is that you handle/log/notify the user at process and thread entry-points like main and AppDomain.UnhandledException. Other than that, you use a try...catch block.