Skip to content
DevMeme
5755 of 7590
DesignPatterns Architecture Post #6309 · source on Telegram

Controversial 'Gang of Four' Design Patterns Book Mocked on Social Media

Description

A screenshot of a Twitter/X thread discussing the seminal software engineering book, 'Design Patterns: Elements of Reusable Object-Oriented Software' by the 'Gang of Four' (Gamma, Helm, Johnson, Vlissides). One user, James Demure, comments, 'if I found my son reading this book I would disown immediately.' Another user, Kache, adds, 'this book is like the opposite of the bible.' The image centers on the book's cover, which features its full title and authors, a Foreword by Grady Booch, and an M.C. Escher-style artwork of interlocking bird-like creatures. The technical context is the contentious legacy of the GoF book; while foundational for object-oriented design, its patterns are often criticized in modern software development for leading to over-engineering or being overly prescriptive. The hyperbolic reactions in the tweets satirize the dogmatic application or rejection of these classic patterns, a debate well-known to experienced engineers

Comments

14
Anonymous ★ Top Pick The Gang of Four book taught us all the patterns for writing reusable software, but the most-used pattern it inspired was 'Copy-Paste Singleton' into a god object
  1. Anonymous ★ Top Pick

    The Gang of Four book taught us all the patterns for writing reusable software, but the most-used pattern it inspired was 'Copy-Paste Singleton' into a god object

  2. Anonymous

    Parents worry about bad influences; architects worry their kids will re-implement a Singleton-Factory-Facade pipeline after reading this

  3. Anonymous

    Twenty years later, you're still maintaining the AbstractSingletonProxyFactoryBean your son wrote after reading this, wondering if disowning him would've been less painful than debugging his enterprise-grade FizzBuzz implementation

  4. Anonymous

    The irony here cuts deep: the Gang of Four's Design Patterns book is simultaneously the most recommended and most misapplied text in software engineering. Every senior architect has witnessed the carnage of junior developers discovering AbstractFactoryBuilderSingletonObserverStrategyProxyDecoratorAdapterFacade patterns and applying them with religious fervor to a simple CRUD app. The 'disown immediately' reaction perfectly captures that moment when you realize someone has weaponized the GoF book without understanding that patterns are descriptive, not prescriptive - and that sometimes, a simple function is not a code smell requiring seventeen layers of abstraction. It's the software equivalent of giving someone a hammer and watching them conclude that everything, including their career, is a nail

  5. Anonymous

    The book isn’t the problem; it’s the phase where someone reads Chapter 1 and your PR shows up with AbstractFactoryFactory, a Singleton registry, and a Visitor where an if would do - true Elements of Reusable Postmortems

  6. Anonymous

    Gift a junior the GoF book and you’ll wake up to an AbstractFactoryFactory, three Singletons, and a 300‑line interface “for extensibility” - great vocabulary, catastrophic coupling

  7. Anonymous

    GoF: Where singletons were born, ensuring your app's state outlives the universe - disownment for preventing that legacy

  8. @marogatari 1y

    I do have this book in reading list... Is there anyone who actually finished it? How does it feel?

    1. @LeakyRectifiedLinearUnit 1y

      It feels like being a goose farmer is a better career choice.

    2. @HarrisonDv 1y

      I have read it, but believe it or not, it makes you look like a script kiddie.😂

  9. @misesOnWheels 1y

    this kills the javascript kiddie

  10. @glatavento 1y

    "One who believes all of a book would be better off without books" ~ Mencius

  11. 𝐄𝐋 1y

    В чем прикол этой книги?

  12. @NiKryukov 1y

    Elbib

Use J and K for navigation