The art of keeping things simple

As a software developer you go through different phases in your personal development. Many, but far from all, end up valuing simple code. Simple does not imply that the code doesn’t do what it needs to do, it means that the code is written in a way that puts minimal cognitive load on the human …

I found a case for a ”C/C++ developer”

What are your thoughts when you see a job ad where they are looking for a C/C++ developer? Personally I have always wondered what ”C/C++” means. Do they know that C and C++ are different languages? That C is a procedural language and C++ is an object oriented language and writing modern C++ code is …

Ways to pass Arguments in C++

In C++ there are many ways to pass an argument to a function. The following code shows some commonly used variants. It is also possible to add the const keyword at different places when passing by pointers to make either the pointer const or the value the pointer is pointing at const, or both. You …

Representing missing value in C++

One thing that I have bothered me quite a lot when coding in C# is a good way to indicate the absence of a value. There are a few different alternatives how this can be done, the most common being using null. However, using null instead of an actual type quite often leads to crashes …