Freigeben über


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...

Date: 07/21/2011

Against BOOL parameters

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

Date: 06/02/2011

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...

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...

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...

Date: 04/23/2011