Home
Sandor Dargo's Blog
Cancel

const rvalue references

Recently I facilitated a workshop at C++OnSea. It went well, but there was one topic that I couldn’t deliver as well as I wanted. You might have guessed it right, it was about const rvalue referenc...

Stand up for yourself and for your values

This is an excerpt from by book called The Seniority Trap. I’m sharing some parts from each chapter. Check out the #thesenioritytrap for more parts. — If you want to grow, if you really want to b...

Patterns of Conflict: Understand blitzkrieg with 4 German words

I shared recently a book review with you. It was about the biography of Colonel John Boyd. In case you haven’t heard about him, he was a fighter pilot, an engineer who changed how aircrafts are des...

The big STL Algorithms tutorial: heap operations

In this next part of the big STL algorithm tutorial, we are going to talk about heap operations: is_heap is_heap_until make_heap push_heap pop_heap sort_heap The first question we ...

Boyd: The Fighter Pilot Who Changed the Art of War by Robert Coram

I found this book in the monthly reading list I receive from Ryan Holiday. I was not sure what the biography of a fighter pilot would offer to me, but the subtitle of the book is The Fighter Pilot ...

How much revenue do you generate?

“… and gentlemen, these results are not just extraordinary because we - in this department - have experienced unprecedented growth in our corporation, but we have also achieved these results wit...

const and smart pointers

What does const have to do with smart pointers? There are two ways to approach this. One way is to simply consider that smart pointers are effectively pointers. As such, either they can be const, ...

Scrum: The Art of Doing Twice the Work in Half the Time by Jeff Sutherland

I recently read Clean Agile by Uncle Bob and probably that’s why my Kindle recommended me to read Scrum: The Art of Doing Twice the Work in Half the Time on Agile by another founder of the Agile Ma...

The big STL Algorithms tutorial: set operations

In this next part of the big STL algorithm tutorial, we are going to talk about set operations on sorted ranges: includes set_difference set_intersection set_symmetric_difference set_u...

2 ways to use static with functions in C++

I’ve been doing a code review lately and I saw the following piece of code (I anonymized it) in a .cpp file: static bool isWineColour(const std::string& iWineCoulour) { static const std::arr...