Code Contracts & VS Extensibility

Many times I’ve seen repetitive and obsessive validation of input parameters.It may be a consequence of confusion in what “defensive programming” paradigm really is.I will give a simple example – Let’s say we have a following code snippet: So, this made me think – is this a good practice or upper code snippet is too “defensive”?I think it’s a bad practice […]

Continue reading