Home
Sandor Dargo's Blog
Cancel

Be a good gardener of your scripts

I wanted to share a few words on why you should care about your scripts. Programming is a science. Programming is art. Programming is a craft. Programming is… Programming is like gardening Diffe...

Once more about clean code

This summer, I gave a talk at C++ On Sea about Why Clean Code is not the norm where at the end, Conor Hoekstra - who you might know from code_report or from other podcasts - asked me a question abo...

Constexpr functions for smaller binary size?

I read recently “constexpr functions: optimization vs guarantee” by Andreas Fertig. I was a bit surprised by some of his claims about constexpr functions regarding binary size so I decided to go af...

C++23: some changes related to templates

I know the above title is a bit vague. As we move forward with the introduction of C++23 features, there are going to be some articles like that. At the same time, there are more than two features ...

The value of boring tasks

Has it ever happened to you that you had a job at a cool company but your daily tasks were somewhat meh? If you’ve been working for at least a few years, I’m sure that this happened to you. Probab...

C++23: compatibility with C

In this blog post, let’s see two papers in C++23 that are being introduced due to compatibility with C. The <stdatomic.h> header Originally, atomics for C and C++ were designed together. Th...

C++23: mdspan

Recently, we discussed that C++23 introduces the multidimensional subscript operator which will work - for the time being - only with new containers. In C++23 that basically means mdspan. In C++26,...

C++23: multidimensional operator[]

Two weeks ago we talked about how C++23 allows for the call and subscription operators to be static. This time, we stay in the land of operators and we’ll continue discussing the subscript operator...

The Power of Tenure: 7 reasons to stay at your job

Should you stay in your job for a long time? Or should you hop for another early on? While the market today might tell you to stay, it won’t be like that all the time and it wasn’t like that a year...

C++23: static operator() and static operator[]

In this article, we are going to review two new features of C++23. Now the language allows the call operator (operator()) and the subscription operator (operator[]) to be static. Let’s jump into th...