The History of Patterns

The History of Patterns

This post is a cross-post from www.ModernesCpp.com.

Most software developers assume that the book "Design Patterns: Elements of Reusable Object-Oriented Software", published in 1994, stands for the birth of patterns. No. The term was coined by Christopher Alexander in 1977.

Let me start my historical detour, including important persons and their books. This detour is by no means complete.

History of Patterns

No alt text provided for this image

Christopher Alexander

No alt text provided for this image

Michaelmehaffy, CC BY-SA 4.0, via Wikimedia Commons

The idea of patterns goes back to Christopher Alexander. He coined in his books "Notes on the Synthesis of Form, A City is Not a Tree", "The Timeless Way of Building", "The Oregon Experiment", "The Nature of Order", and in particular in his book "A Pattern Language: Town, Buildings, Construction" terms such as patterns, forces, or pattern languages. Christopher Alexander was an architect, who focused on interior design but also on urban design. His main concern was to create an architecture that is geared to the needs of the people. He developed with his colleagues in the Center for Environmental Structure in Berkley more than 250 patterns for design problems: each one consists of a problem, a discussion of the problem with an illustration, and a solution. I guess, this sound familiar to you.

Ward Cunningham and Kent Beck

Ward Cunningham and Kent Beck have been inspired by the ideas of Christoph Alexander and applied his ideas to software development. In 1987 they published their book "Using Pattern Languages for Object-Oriented Programs", a pattern language to facilitate the development of user interfaces in Smalltalk. They established the first pattern system for designing user interfaces. Here are four of them:

  • Window-per-Task: a separate window for each task
  • Few-Panes: develop a separate area in the window for each view of the task
  • Standard-Panes: design the functional areas according to the same principles
  • Nouns-and-verbs: action instructions (verbs) belong in the menu

Maybe you don't know it, but Ward Cunningham and Kent Beck are two of the most influential minds in software development:

Ward Cunningham:

No alt text provided for this image

By Carrigg Photography for the Wikimedia Foundation - Own work, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=17697618

Kent Beck:

No alt text provided for this image

By Improve It - Flickr: Kent Beck no Workshop Mapping XP., CC BY-SA 2.0, https://commons.wikimedia.org/w/index.php?curid=2938419

  • pioneer of software design pattern
  • wrote the unit test framework sUnit for Smalltalk
  • developed the Junit unit test framework for Java together with Erich Gamma
  • popularized CRC cards with Ward Cunningham
  • developed Extreme Programming (XP)

James Coplien

James Coplien published in 1991 the book "Advanced C++ Programming Styles and Idioms". His book is a catalog of C++ idioms such as:

  • Handle/Body: separation of interface and implementation
  • Envelope/Letter: tie common semantics of interface and implementation together
  • Virtual Constructor: build a hierarchy of a known abstract type, but of an unknown concrete type
  • Concrete Data Type: determine of a object should created on the heap of in the current scope
  • Algebraic Hierarchy: structure class following algebraic types
  • Non-Hierarchical Addition. deal with arithmetic operations between types that cannot be promoted to the other
  • Type Promotion: build two type conversion mechanisms to build a consistent type promotion structure

Erich Gamma

No alt text provided for this image

Erich Gamma received his doctorate in Zurich 1991 on the use of patterns in software development: "Objektorientierte Software-Entwicklung am Beispiel von ET++". ET++ is a portable C++ class library for developing interactive graphical applications.Gamma's dissertation became the base of his co-authored book "Design Patterns: Elements of Reusable Object-Oriented Software". The other three authors are Richard Helm, Ralph Johnson, and John Vlissides. All four together build the well-known Gang of Four (GoF).

Erich Gamma is also known for his development of the Junit unit test framework for Java together with Kent Beck and his leadership of the development of the Eclipse framework.

The Hillside Group

In 1993, Grady Booch and Kent Beck invited several protagonists from the object-oriented scene to a mountain cabin in Colorado. One of the topics was the fusion of Christopher Alexander's ideas with more recent work by Erich Gamma as a basis for design patterns. The formation of a non-profit organization focused on software patterns, which was given the name Hillside Group. To this day, this group plays a central role in the pattern community. It gave rise to numerous conferences on the topic, the so-called PLoPs (Pattern Languages of Programming). Additionally, when you search for more information regarding patterns, books, or conferences about patterns, the hillside group should be your first choice.

Design Patterns: Elements of Reusable Object-Oriented Software

No alt text provided for this image

In 1994, Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides published their seminal book "Design Patterns: Elements of Reusable Object-Oriented Software". It has 23 object-oriented patterns, categorized into creational, structural, and behavioral patterns. This book marks the beginning of the worldwide pattern adoption and is regarded as the most important book about software design. More than 500,000 copies were sold so far.

 

Pattern-Oriented Software Architecture, Volume 1

No alt text provided for this image

Frank Buschmann, Regine Meunier, Hans Rohnert, Peter Sommerlad, and Michael Stal of Siemens AG published in 1996 the book "Pattern-Oriented Software Architecture, Volume 1". Their very influential book represents the progression and evolution of the pattern approach into a system of patterns capable of describing and documenting large-scale applications. Pattern-Oriented Software Architecture (POSA) consists of 17 architectural patterns, design patterns, and idioms. The entire POSA series, published from 1996 - 2007, has five volumes.

What's next?

In my next post, I present the different classifications of patterns in the books "Design Patterns: Elements of Reusable Object-Oriented Software and "Pattern-Oriented Software Architecture, Volume 1".

Vacation break

Due to my vacation break, I will not publish a post in the next two weeks. My next post will, therefore, be published on the 1st of August 2022.

 

Thanks a lot to my Patreon Supporters: Matt Braun, Roman Postanciuc, Tobias Zindl, Marko, G Prvulovic, Reinhold Dröge, Abernitzke, Frank Grimm, Sakib, Broeserl, António Pina, Sergey Agafyin, Андрей Бурмистров, Jake, GS, Lawton Shoemake, Animus24, Jozo Leko, John Breland, Louis St-Amour, Venkat Nandam, Jose Francisco, Douglas Tinkham, Kuchlong Kuchlong, Robert Blanch, Truels Wissneth, Kris Kafka, Mario Luoni, Neil Wang, Friedrich Huber, lennonli, Pramod Tikare Muralidhara, Peter Ware, Daniel Hufschläger, Alessandro Pezzato, Evangelos Denaxas, Bob Perry, Satish Vangipuram, Andi Ireland, Richard Ohnemus, Michael Dunsky, Leo Goodstadt, John Wiederhirn, Yacob Cohen-Arazi, Florian Tischler, Robin Furness, Michael Young, Holger Detering, Bernd Mühlhaus, Matthieu Bolt, Stephen Kelley, Kyle Dean, Tusar Palauri, Dmitry Farberov, Ralf Holly, Juan Dent, George Liao, Daniel Ceperley, and Jon T Hess.

Thanks in particular to Jon Hess, Lakshman, Christian Wittenhorst, Sherhy Pyton, Dendi Suhubdy, Sudhakar Belagurusamy, Richard Sargeant, Rusty Fleming, Ralf Abramowitsch, John Nebel, and Mipko.

My special thanks to Embarcadero

 My special thanks to PVS-Studio

 

Mentoring Program in English

Do you want to stay informed about my mentoring programs? Write to info@ModernesCpp.de.

Seminars

I'm happy to give online seminars or face-to-face seminars worldwide. Please call me if you have any questions.

Bookable (Online)

German

Standard Seminars (English/German)

Here is a compilation of my standard seminars. These seminars are only meant to give you a first orientation.

New

Contact Me

Modernes C++,

No alt text provided for this image

To view or add a comment, sign in

More articles by Rainer Grimm

  • Charity run for ALS

    Tomorrow, on the 28th, there will be a charity run for ALS in Rottenburg. The course is exactly 1 km long.

    2 Comments
  • Small Safety Improvements in the C++ 26 Core Language

    Safety is an important concern in C++26. Contracts are probably the most important feature for safety.

    1 Comment
  • My ALS Journey (30/n): Cippi at the CppCon

    This week was very exciting for Cippi. She visited CppCon in Aurora, near Denver.

    2 Comments
  • Contracts: Evaluation Semantic

    After briefly presenting the details of contracts in my last article, “Contracts: A Deep Dive“, I would like to take a…

  • My ALS Journey (29/n): I feel Good

    I often receive messages asking about my health and wishing me well. I am very happy to receive these messages and just…

    5 Comments
  • Contracts: A Deep Dive

    August 25, 2025/in C++26/by Rainer GrimmI already introduced contracts in the article “Contracts in C++26”. In this…

  • My ALS Journey (28/n): Bureaucracy – The German Disease

    Today I want to write about a sad topic. Bureaucracy in the German healthcare system is becoming increasingly absurd.

    2 Comments
  • Data-Parallel Types: Algorithms

    The data-parallel types library has four special algorithms for SIMD vectors. The four special algorithms are min, max,…

  • My ALS Journey (27/n): An Emergency Call

    Firstly, I would like to say that I am doing very well and have made a full recovery from my incident. However, I would…

    8 Comments
  • Data-Parallel Types: Reduction

    In this article, I will discuss reduction and mask reduction for data-parallel types. Reduction A reduction reduces the…

Others also viewed

Explore content categories