Tag Archives: best practices

Getting Started With Existing Code

Software developers often have to work with existing code bases, whether it’s for joining an ongoing development effort or for maintenance work on a legacy application. Getting familiar with foreign code takes time and can be a frustrating experience. In … Continue reading

Posted in best practices | Tagged , | Leave a comment

Easing Configuration with Spring Beans

Handling configuration data in Java isn’t as convenient as it could be. The old and popular Properties mechanism has an awkward syntax and you have to take care of type safety yourself. The new Preferences mechanism supports XML but still … Continue reading

Posted in java | Tagged , , | 1 Comment

Simple Error Handling in C

Currently I’ve got the pleasure to do some coding in C. There’s nothing wrong with that, but things can get a bit uncomfortable for those spoilt by languages like Python or Java. So it’s nice to have a library of … Continue reading

Posted in c/c++ | Tagged , | 1 Comment

(No) Comment?!

Many software developers feel bad because they make little use of comments in their code. Often, using lengthy comments is considered good style. In the old days, with languages like C or assembler, things got messy pretty fast, so comments … Continue reading

Posted in best practices | Tagged , , , | 1 Comment

Good API Design

Recently I discovered an interesting video for all of us aspiring software architects on Google Video. As part of the “Google Tech Talks” series, Joshua Bloch talks about “How to Design a Good API and Why it Matters”. Being one … Continue reading

Posted in best practices | Tagged , , | Leave a comment

Release Management in Open Source Projects

During my work in open source projects, I observed several ways of dealing with software releases, ranging from chaos up to well-defined release processes. In this article, I’m going to describe two common patterns of dealing with releases from a … Continue reading

Posted in best practices | Tagged , | Leave a comment

Lightweight Package Management using Stow

Package management tools like apt-get make it very easy to install and remove software. The package manager takes care of downloading the package together with its dependencies if, of course, someone has taken the time to create a package and … Continue reading

Posted in tools | Tagged , , , , | Leave a comment