Archive for the 'Design Patterns' Category

Strategy-like Pattern in PHP

February 19th, 2009 Posted in Design Patterns, PHP | Comments »

Today, I had some time to write a little program while I was watching people work on the infrastructure at the office. I wrote up a couple of functions that calculated the n-th Fibonacci number, and wanted to display the sequence of the first 100 numbers as they were calculated by these functions. At first, […]

Observer Pattern in C

May 18th, 2008 Posted in Design Patterns | 8 Comments »

More interesting software systems are complex, and the implementation of complex software typically requires multiple developers. The introduction of additional developers increases software complexity, which requires the software design to provide for software components that are resilient against change. Functional behaviors or component dependencies, such as the need for one component to recognize that another […]

Reinforcing Knowledge while Learning

October 3rd, 2007 Posted in Design Patterns, Python | Comments »

I just finished rereading Design Patterns: Elements of Reusable Object-Oriented Software. As a little experiment, I will explore how far I can get with the book’s fundamental design patterns with Python, an object-oriented scripting language that I am trying to pick up. One of the first design patterns I came across even before reading DP […]