Do Not Litter Your Code With Null Checks

Just read the following post on the performance of try/catch and throwing exceptions. In the author’s small (and completely unrepresentative of real-world scenarios) performance tests, it showed that throwing exceptions is a quite costly operation. Ah… if only it were that simple. Throwing an exception is indeed a costly operation, compared to most other statements. […]

Read More

How Do You Deal With Common Infrastructure Code For Multiple Projects?

Here’s the situation: a couple of months ago we started developing according to a new architecture. Obviously, you need infrastructure code for this. For the first project, we just put the infrastructure code into the project’s solution and everything was easy. We could make changes as we needed them, and it enabled us to ‘grow’ […]

Read More