Best of MC++ Blog2022

  1. 1
    Article
    Avatar of modernescppMC++ Blog·4y

    Classification of Design Patterns

    The book "Design Patterns: Elements of Reusable Object-Oriented Software" presents creational patterns, but not destructional patterns. The patterns that are written in bold fonts are the ones I used heavily in my past. All 23 Design Patterns are only variations of CarPart. The same holds for many young people in Germany.

  2. 2
    Article
    Avatar of modernescppMC++ Blog·4y

    The Advantages of Patterns

    Design patterns are probably the most valuable and impactful abstraction in modern software development. The advantages of patterns can be boiled down to three points: well-defined terminology, improved documentation, and learning from the best. Patterns establish a well- defined terminology. Fine-grained documentation High-level documentation Learning from thebest.

  3. 3
    Article
    Avatar of modernescppMC++ Blog·4y

    The Structure of Patterns

    "Design Patterns: Elements of Reusable Object-Oriented Software Architecture" and "patterns" are the most influential books ever written about software development. Christopher Alexander uses the three adjectives useful, usable and used to describe the benefits of patterns. The strategy pattern is so baked in the design of the Standard Template Library that we may not see it.

  4. 4
    Article
    Avatar of modernescppMC++ Blog·3y

    The Strategy Pattern

    The Strategy Pattern is a behavioral design pattern from the book Design Patterns: Elements of Reusable Object-Oriented Software. It defines a family of algorithms and encapsulates them in objects. Use case - Different variations of an algorithm are needed - The algorithm should be exchangeable at the run time.