A few words about (unit) testing

Purpose of testing I think every developer knows something about different types of testing (unit, integration, functional / acceptance, regression, etc.). Add to this performance testing, black-box testing and you get sizable family of possible tests to write. If you start differentiating UI testing as a separate functional testing, the family grows even more. First ...

Reasons to avoid Try/catch/swallow block

Reasons to avoid Try/catch/swallow block
This question has been asked multiple times before: why is “try { … } catch {}” a bad practice? ([0], [1], [2]). All of those answers are good, but I would like to address this issue from slightly different points. By no means I am trying to say to avoid throwing exceptions when invalid state occured. ...