Programming Articles
Lisp for the Web
March 2008
A case study in developing a three-tier web application using Common Lisp. The article was published in the 2008 April issue of C Vu.
Read the article here .
The code for the developed application (Retro Games) is available here .
Design in Test-Driven Development
April 2007
An article discussing the impact of TDD on the development process.
Design in Test-Driven Development was published in Overload 78, April 2007 .
Solving FizzBuzz using C++ compiler error messages
April 2007
Using C++ template metaprogramming, I'll try to solve FizzBuzz by having the compiler output the solution as error messages.
Read the article here . The article was posted on reddit in April, 2007.
Objects for States
May 2006
Originally captured in Design Patterns, Objects for States is described in close conjunction with the Singleton pattern. This article will explain why this is an unfortunate combination and investigate better alternatives for implementing the pattern in C++.
Objects for States (pdf, 116 kb), published in Overload 73, June 2006
Download the full source code here (zip, 17 kb).
Idiomatic Expressions
February 2006
As a language evolves, certain efficient patterns arise. These patterns get used with such a high frequency and naturalness that they almost grow together with the language and generate an idiomatic usage for the practitioner of the language. This article captures some of these idiomatic expressions.
Idiomatic Expressions in C (164 kb), published in C Vu 18.1, February 2006
Patterns in C
June-September 2005
This series has been published in the C Vu, which is a bimonthly ACCU publication.
All documents are stored as PDF.
Patterns in C - Part 1 (196 kb), published in C Vu 17.1, February 2005
Patterns in C - Part 2: STATE (237 kb), published in C Vu 17.2, April 2005
Patterns in C - Part 3: STRATEGY (197 kb), published in C Vu 17.3, June 2005
Patterns in C - Part 4: OBSERVER (210 kb), published in C Vu 17.4, August 2005
Patterns in C - Part 5: REACTOR (284 kb) with full source code (zip, 13 kb), published in C Vu 17.5, October 2005