Architectural Patterns

Architectural patterns describe the fundamental structure of a software system and are often based on design patterns. The five Pattern-Oriented Software Architecture series books provide a precious source of architectural patterns.

Read more
Views: 3707

How can you recognise a good software architecture?

I'm happy to present today a guest post from Alexander Eisenhuth. Alexander will write about his passion: good software architecture.

Read more
Views: 24637

Idioms for Polymorphism and Templates

This post is unique because I have written about all the topics mentioned in this post already. Therefore, I only provide a few words about the topic and a link to the post mentioned.

Read more
Views: 3043

Covariant Return Type

The Covariant Return Type of a member function allows an overriding member function to return a narrower type. This is particularly useful when you implement the Prototype Pattern.

Read more
Views: 3294

The Iterator Protocol

When you want to use a user-defined type in a range-based for-loop, your user-defined type has to implement the Iterator Protocol.

Read more
Tags: iterator
Views: 5038

The Null Object Pattern

A Null Object encapsulates a do nothing behavior inside an object. It is often pretty comfortable to use a neutral object.

Read more
Tags: lock, mutex
Views: 5657

Value Objects

A value object is a small object whose equality is based on state, but not identity. Typical value objects are money, numbers, or strings.

Read more
Views: 5206

Regular Types

The concept of a regular type goes back to the creator of the Standard Template Library (STL) Alexander Stepanov. A regular type is a user-defined type and behaves like a built-in type.

Read more
Tags: Regular
Views: 6001

The Rule of Zero, or Six

The rule of zero, or six, is one of the advanced rules in modern C++. I wrote in my current book "C++ Core Guidelines Explained: Best Practices for Modern C++" about them. Today, I want to quote the relevant parts of my book in this post.

Read more
Views: 6173

Argument-Dependent Lookup and the Hidden Friend Idiom

Argument-Dependent Lookup (ADL), also known as Koenig Lookup, is a set of "magical" rules for the lookup of unqualified functions based on their function arguments.

Read more
Tags: ADL
Views: 6928

Mentoring

Stay Informed about my Mentoring

 

English Books

Course: Modern C++ Concurrency in Practice

Course: C++ Standard Library including C++14 & C++17

Course: Embedded Programming with Modern C++

Course: Generic Programming (Templates)

Course: C++ Fundamentals for Professionals

Interactive Course: The All-in-One Guide to C++20

Subscribe to the newsletter (+ pdf bundle)

All tags

Blog archive

Source Code

Visitors

Today 887

Yesterday 6519

Week 37449

Month 181620

All 11662774

Currently are 140 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments