Twisty Little Passages, All Alike

The final macro

The problem Cleaning up resources is hard. One has to keep track of all allocated resources and make...

Author: Daniel Colascione Date: 07/21/2011

Against BOOL parameters

BOOL parameters are evil Boolean parameters are everywhere. In public APIs all the way down to...

Author: Daniel Colascione Date: 06/02/2011

Author: Daniel Colascione Date: 05/23/2011

On assuming your customers are innumerate

So I was shopping for a couch this week and saw one I liked. I asked about delivery options. The...

Author: Daniel Colascione Date: 05/10/2011

Breaking code on purpose

Breaking code is useful. When we run into an impossible situation, it's better to fail early and...

Author: Daniel Colascione Date: 04/27/2011

Everyone quotes command line arguments the wrong way

Background At one time or another, we all need to pass arbitrary command line arguments to some...

Author: Daniel Colascione Date: 04/23/2011