Home
Sandor Dargo's Blog
Cancel

Does this string declaration compile?

Fellow C++ developers out there! I have a question for you! Will the following code compile? If not, why not? If it does, why? #include <string> int main() { std::string(foo); } Spen...

My DEV birthday gift for you: DEV.to Analytics!

I joined DEV.to a bit more than two years ago. I don’t remember at all how I found this website, but it seemed welcoming. I particularly liked its really simple design. As a backend guy, it was ver...

Stillness Is The Key by Ryan Holiday

Stillness is the key is the new book of Ryan Holiday that just came out about a month ago and it finishes his trilogy about… I wanted to write that about stoic philosophy, but it’s not really the t...

The big STL Algorithms tutorial: transform

In this next part of the big STL algorithm tutorial, we will discover only one algorithm, the transform. I find very important, plus it doesn’t have variants like the copy or move algorithms. On th...

Keep calm and do less

The last one of the Five good emperors, Marcus Aurelius had a note in his Meditations: “If you seek tranquillity, do less.” This is one of his thoughts that is the most applicable to software devel...

Smartcuts: How Hackers, Innovators, and Icons Accelerate Success by Shane Snow

Smartcuts covers how to stimulate - mostly - professional development. Hence its subtitle is How Hackers, Innovators and Icons Accelerate Success. By example, the author Shane Snow analyzes how ce...

The brand new assignment expression of Python 3.8

Python 3.8 is coming and not surprisingly it comes with a bag of new features. In this post, I’d like to present only one that I’ve been really waiting for: assignment expressions! The problem Wh...

Going down the road

After years of working hard and understanding how the game works, you got promoted. You are happy. You made a few steps forward. It feels exactly like when you got admission to university more th...

The Legacy Code Programmer's Toolbox by Jonathan Boccara

The Legacy Code Programmer’s Toolbox is the quite fresh e-book of Jonathan Boccara, the person behind Fluent C++. Not surprisingly it’s about how to attack legacy code. The author gives practical ...

The big STL Algorithms tutorial: modifying sequence operations - move and swap

In this next part of the big STL algorithm tutorial, we will discover some of modifying sequence operations who involve either move or swap: move move_backward swap swap_ranges iter_swa...