“West-Const vs. East-Const” West-Const (The common one) int * num = new int(42); // Mutable ptr to a mutable int
Continue readingCategory: Computer
Create for x last commits a child branch
Let’s asume you have worked on the develop branch and done some commits there. Now you want to create a
Continue readingstd::recursive_mutex (C++)
The std::mutex is a non-recursive mutex and therefore can’t be locked again from the same thread before getting unlocked. This
Continue readingWhat to consider when buying a monitor
There are plenty of things you should consider when buying a new monitor. I will consider just a few, but
Continue readingBranching concept
The following branching concept is commonly used these days for software development. Source: https://nvie.com/posts/a-successful-git-branching-model/ (by Vincent Driessen)
Continue readingVariant managment – Macros vs. Branching
Via Macros A way to realise different variants is to work with variant flags within the code itself. The big
Continue readingMain thread vs. Worker thread(s)
1. Main thread – Gets created during startup – It’s possibly the only thread – Normally sets up the app/program
Continue readingMerging – linear vs. non-linear history (Git)
After developing a feature or fix you want to merge that branch onto the parent branch. There are two main
Continue readingDoes Java have pointers?
Most guys would say “No, but C++ has pointers” and they are right, but not in the way they assume
Continue reading(Unnamed) Pipe (POSIX)
… is user for unidirectional inter process communication on a single machine. In the following example a pipe gets created
Continue reading