Archive for April, 2008

Why Are All My Collection Elements the Same as the Last One I Added?

April 29th, 2008 by stevi | 0

I’ve seen several programmers struggle with a similar question. They create a collection of some sort, and add items to it in a loop. When they finish the loop and try to use the collection (or list, or array, or set, or map) it looks like every single object in the collection is the same [...]

When to branch your code

April 23rd, 2008 by stevi | 1 comment

This article on Making Small Commits lead me to think about when to commit and when to branch a code base. Branching is the black art of version control, and anyone who has tried it at least once has probably had the nightmare that arises from having to merge code back in. It’s an art [...]