If you want to amaze code reviewer with your awesomeness try this one …

class NetworkServiceConfig : public Config<NetworkServiceConfig>{ ... Wait! What? ok ok ... this is not a joke. In fact this is design pattern, and it is called Curiously Recurring Template Pattern CTPR. 🙂 So why anyone would like to do that? Why to derive from a template that takes a Derived class as a template parameter … Continue reading If you want to amaze code reviewer with your awesomeness try this one …

6 “Quick Start” lessons of Python for C++ developer

Lesson 1: "All variables are references" Well they are, but it is a bit different than in C++. ❯ python Python 3.9.0 (tags/v3.9.0:9cf6752, Oct 5 2020, 15:34:40) [MSC v.1927 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> a=10 >>> b=a >>> a=20 >>> b 10 # <--- WTF? … Continue reading 6 “Quick Start” lessons of Python for C++ developer