Book Review : Design Patterns: Elements of Reusable Object-Oriented Software

Design Patterns: Elements of Reusable Object-Oriented Software

Design Patterns

Elements of Reusable Object-Oriented Software

Erich Gamma, Richard Helm , Ralph Johnson, John Vlissides, Grady Booch

Four top-notch designers present a catalog of simple and succinct solutions to commonly occurring design problems.

Buy Now

If you’re into collecting classic books across multiple genres, then this would have to be the book you collect to put in your Software Development section without a doubt.

For most developers this would be the book, that they would refer to most, especially if those developers are working with any of the popular Object-Oriented Programming language (OOP) such as;

  • C/C++,
  • C#
  • Java
  • PHP
  • Basic
  • Kotlin
  • Python

In fact, even if you’re into Functional Programming languages you could probably do with at least giving this book a skim read.

Why I read this book?

I suppose like many developers from my generation, my entry into software development was not a classical academic route. I never studied Computer Science or even a classic engineering based subject at University. Although I had been tinkering and learning about computers throughout my teenage years.

I had initially learned how to start programming computers back when i was 12 years old, when my parents bought me a Commodore 64 computer. Back in those days you had to learn the basics of booting a computer and even some rudimentary commands even to get a game running or installed.

It was background such as this, that has developed a life-long tradition of self learning and education in computer programming. Which I would be the first to admit is not as structured, governed and regulated as a conventional Comp-Sci degree, but on the whole I have never felt out of place in the workplace because of it.

A degree in a particular subject, does not necessarily dictate expertise in any particular subject, all that it verifies is that you can research, assimilate and implement the information. Throughout my career, I have often worked with people who also don’t necessarily have degrees in IT or Comp-Sci but are experts in the field. Often it was while studying for degrees in other fields that they stumbled across Software Development and it ignited the passion.

I often do regret not obtaining a degree in Comp-Sci primarily because I also realize what an immensely interesting and absorbing field it it is. Therefore, I often find myself learning or being drawn to related aspects.

Over the years, I had often come across references to Software Design Patterns and have also regularly implemented them, but I never really had a firm grasp of the subject. So I decided to change that, back in 2008 and started studying and learning as much as I could.

I bought this book as part of a whole series of books on the subject, including:

I spent few months reading and working through the books and implementing what I had learned in real-world applications and code bases.

Patterns of Enterprise Application Architecture

Martin Fowler

Essential reading and desktop reference for all software developers

Buy Now Read Review

What I liked about this book

I found the pace and progression of the book to be excellent. The introduction prior to discussing the patterns really helps to help the reader assimilate the information that helps put the entire book in context and prepares you for the challenge to come.

Each pattern is unique in subtle ways that the authors explain masterfully and provides a great discussion and insights on developing software systems.

This book, provides the foundation to start building your knowledge and experience on. In my experience most books on Software Development Design Patterns reference this book. Therefore, you’ll probably find yourself continually back to it.

What I didn’t like about this book

Most of the code samples in this book are all C++ and based in example projects of early and mid 90’s. I personally would prefer to see a revised edition of this book with code samples implemented using updated version of object oriented languages like C# or Java.

It was relatively difficult transposing the patterns to either of these languages, however this actually also helped to better understand the patterns.

The book, can be a little dense, but that just may be my opinion. I initially found this book to be a little intimidating and probably a little too academic but eventually after a few months of referring back to it started to appreciate it.

Why I recommend this book

This book is not necessarily one you will read cover to cover in a few sittings, rather it will be a constant desktop companion you’ll keep referring too.

If my experience is anything to go by, you’ll be constantly dipping in and out of the book for years to come. The content is very dry and in some instances could easily cure anyone’s insomnia, but if you persevere and break done the consumption of this book to manageable chunks it will undoubtedly benefit your career and understanding of software development.

 If you are serious about understanding computer science or software engineering you will eventually be introduced to software architecture. Software Design Patterns can be considered a sub-class of software architecture. Therefore when designing software the same “patterns” tend to occur. This book identifies and explains the well known patterns which the reader can expand upon in their own projects.

This book is also a hugely beneficial reference resource to use when reading books like Adaptive Code and Clean Code

Adaptive Code
Agile coding with design patterns and SOLID principles

Applying principles from this book, will help you create code that accommodates new requirements and unforeseen scenarios without significant rewrites.

Gary Hall Maclean

Buy Now Read Review

Gary Woodfine

Technical Director at Denizon
Gary is Technical Director at Denizon, an independent software vendor specialising in IoT, Field Service and associated managed services,enabling customers to be efficient, productive, secure and scalable in a way which helps them address and reduce their ecological impact.

Denizon's product line successfully integrate IoT, Artificial Intelligence and Blockchain technology to enable efficient, productive, secure and scalable solutions to help organisations address increasing energy demands, ecological impact and Health & Safety concerns of their staff.

Latest posts by Gary Woodfine (see all)