Posts
Sandor Dargo's Blog
Cancel

C++ basics: scopes, linkage, names

First, I learnt C++ at university, but I better not count it. Then I first started to work with it 9 years ago. My employer booked a 5-day-training only for me. Those were good, generous times. But...

Tipi, a new solution to build C++ projects easier

In this article, I’d like to share an initial review of Tipi, a C++ related cloud service. For your information, there might be a future collaboration between me and Tipi, but this article is not s...

Make declaration order layout mandated

We are soon reaching the middle of 2022 and as such we are getting closer and closer to C++23. I plan to show you more and more new features and fixes from the coming version. The first one was ded...

The Goal: A Process Of Ongoing Improvement by Eliyahu M. Goldratt

When a few months ago I read The Phoenix Project and The Unicorn Project, I learned that they are the modern IT-era reincarnations of The Goal. It was written in a similar style in 1984, but it was...

The 4 use of using in C++

When I write code I don’t only want to write code that is correct. I also want to write code that is understandable, and maintainable. I want to deliver code that is easy to read not only for the c...

The infamous bug of range-based for loops

Imagine that you used a feature of your favourite language without fear. Imagine that you used that feature endlessly, without having a second thought. You even promoted it in conversations, in cod...

Beautiful C++: 30 Core Guidelines for Writing Clean, Safe and Fast Code by J. Guy Davidson and Kate Gregory

If you are familiar with the Pluralsight courses of Kate Gregory, you won’t be surprised by the name of this book. While many consider C++ a complex language that always results in difficult to rea...

My first work experience with C++20

I joined a new team recently. We have our own internal microservices as well as libraries. While for microservices we support one main branch, for libraries we do have to support at least three, in...

Use strong types instead of bool parameters

There are some recurring themes in code reviews. Experienced reviewers often already have a template of comments somewhere for such recurring patterns. Sometimes only in the back of their minds, bu...

Storing references of pointers in containers in C++

This article is about the problem of storing vectors in a container and a bug I faced recently. Many would quickly find the conclusion that you should not store raw pointers, but you should work ...