Fixing the Singleton

When you ask people who know almost, but not completely nothing about patterns, about software design patterns, they probably bring up the singleton pattern. It’s extremely easy: Just make sure you have one single instance of a class. If you ask more experienced developers about the singleton, they will probably tell you its bad and [...]

Posted in: Softwaredevelopment by Jens Schauder 8 Comments , ,

Tips for Testing Database Code

Almost everybody understands that source code belongs into version control. Many people understand we need to test our code. Quite a few do that automatically. But everything seems to change when it comes to databases. A lot of stuff in and around databases goes untested. Heck some of the scripts don’t even live in version [...]

The Right Amount of Up-Front Design?

Maybe its just because I’m following Simon Brown on twitter, but I saw a phrase like “just the right amount up-front design” often enough to make me think. Am I doing the right amount of up-front design? I never before thought about this question in my software projects. But I also hardly ever had the [...]

Posted in: Softwaredevelopment by Jens Schauder No Comments