Testing for exceptions
Every piece of software should at least have unit tests. Quite a few of these tests will probably be used to see if the method is correctly throwing an exception...
»Every piece of software should at least have unit tests. Quite a few of these tests will probably be used to see if the method is correctly throwing an exception...
»Time to add another class to our Helpers. Defensive programming is very important. Checking that every parameter is correct before working with them is simply a must. The code for...
»Programming 101, try to avoid highly coupled dependencies. Luckily, with today's frameworks, this has become a thing of the past. First, what are highly coupled dependencies? To understand this, here's...
»Checking for overlap can be quite tricky. It's not hard at all to make the whole process far too complicated, resulting in a lot of overhead. Because of this, I...
»While the DateTime object might already have quite some standard formats for its ToString method, it's just not good enough to use directly in a front-end. In some applications, outputting...
»