As you might know, I’m writing a book, its working title is “The Seniority Trap”. From time to time, I’ll post some parts of it, before it gets released. If you are interested in the updates, please subscribe to my personal blog and let’s connect on Twitter!
In this next part of the big STL algorithm tutorial, we cover the partitioning operations - except for ranges which will be covered in a different series.
When I decided to read Awken the Giant Within, I was a bit surprised. I thought it’s much newer, but in fact, it’s from the very beginning of the 1990s. It doesn’t make it less relevant and this book is still very popular. Kind of a good sign.
I find the author, Tony Robbins, an authentic person to write such a book. He left home at the age of 17, he also left college and started to work as a janitor. Then he made up his mind and became one of the most important coaches, motivational speakers of our age.
In this post, we will discover the three different ways you could use the delete specifier in C++. We are going to see how
you can disallow an object from being copied
you can limit what kind of implicit conversions you allow for a function call
you can limit what kind of template instantiations you allow
It’s the very end of 2020 and it’s time to review what happened this year, what I achieved, where I failed and what I am going to do next year. I make it public for better accountability and maybe to provide some ideas for others.
The first thing that is important to clarify about this book is that it’s not about self-development. It’s not about how to become better as an individual. It’s about companies. This book is the summary of a long research on why some companies who used to be average make the leap to become great. I won’t go into details on the definition of great, but the bottom line that great companies outperform the market for a long time and with different CEOs.
When we start coding in an object-oriented programming language we often think that it’s about building nice inheritance hierarchies. So we do. A bit later we learn that we should rather use composition over inheritance. So we do. But we still need inheritance, and from time to time we run into problems where it seems to be the only way. At those times, we might learn about some more specialized forms of inheritance. In C++, this might mean private inheritance or virtual inheritance. Today we speak about the latter.
Recently, I’ve built Daily C++ Interview and since the beginning, I kept something important in mind. I need to provide value, and I don’t need a perfect implementation for that. I don’t need to automate a process if I barely have to perform it, especially if it’s simple and doesn’t take many efforts.
There is barely any day for me without reading a book. And days I when I miss reading, it feels bad. It feels like my mind is hungry. Reading is as important as eating. When you eat you feed your body. When you read, you feed your mind.