Home
Sandor Dargo's Blog
Cancel

The big STL Algorithms tutorial: find et al.

In this next part of the big STL algorithm tutorial, we will discover the different functions of the <algorithm> header that we can use to find an item in a container. Namely, we are going ...

Rome's Last Citizen by Rob Goodman and Jimmy Sonni

Who was it? It depends. If we were looking for a technically correct answer, it would be simply impossible to tell and someone who died long years later. But given his character, his stance, his ac...

Be severe only with yourself

I’m a strict person with a relatively high level of self-discipline. I’m strict with myself and with most of the others. Especially with those who I respect, with those who I consider more capable....

Parameterized testing with GTest

For one of the latest dojos in our department, we chose a relatively simple kata to help new people get on board. We were working on the leap year kata in Randori style meaning that we were using o...

The Compound Effect by Darren Hardy

In an era when so many people want to have the next big shot when everyone wants to come out with the next big thing and suddenly find themselves at the top, this book, The Compound Effect by Darre...

Lesson of a booking: Don't trust the system!

We were going on holidays recently and we were going far away. We were travelling to Vietnam. The last time before my daughter would go pre-school and my son would start walking. In other terms, th...

The big STL Algorithms tutorial: for_each

In this next part of the big STL algorithm tutorial, I’ll explain only one function. The for_each algorithm. What does it do? for_each takes a range and a function to apply on each element of th...

Effective Modern C++ by Scott Meyers

Effective Modern C++ is the book with the biggest impact on my professional life recently. As I’ve written already, I used to work with older versions of C++, mostly with C++03. Scott Meyers in Ef...

Production code as a playground?

With one of my colleagues, we’ve been working a lot to create and foster a culture of learning, an environment where constant self-improvement and knowledge sharing is highly valued. Let’s say that...

The Curiously Recurring Template Pattern (CRTP)

In this article, we are going to discover the pattern that is called the Curiously Recurring Template Pattern. Are you curious? Read on! Introduction Have you ever wondered about a derived class...