C++: The Multilist class – second part

In the previous post, we have implemented a first version of the Multilist container. However, we pointed out two drawbacks in that implementation: First, there were an excessive number of copies been done; secondly, the get method was operating backwards, i.e., the first value retrieved is located in the last list. In this post we solve the first of these problems, and we take the opportunity to talk about rvalues and move operations.

Read More C++: The Multilist class – second part

Organize and document everything you can

Imagine one day you woke up in a house in the middle of the woods. You have to find the way back home but you haven’t a map. You follow your intuition and try different paths. There are hundreds of them, like in a labyrinth. If you do not have a prodigious memory, you will inevitably forget which paths you have taken and anxiety will take over you. You better document all the paths you tried, and create your own map.

Read More Organize and document everything you can