About Me - The Short Story

I am a lonely Python/C++ coder with a background in financial markets and an interest in modern art. I am an application-driven guy, not a computer scientist. Sure I have many gaps in my knowledge, but I strive to do my best to fill them. I keep learning new things, listening to smart guys, correcting my mistakes, and pushing myself to the limits. I enjoy it.

I will use this website both as a blog and as a hub to some of my projects. It is written from scratch in Python's Flask, my favourite web-framework.


Demystifying dynamic polymorphism

C++ supports a dynamic (run-time) polymorphic behavior. Polymorphism simply means: one form, many different behaviors – meaning the same line of code, can have completely different outcomes. It is done using pointers

Here I have...

c++ 
object-orientation 
polymorphism 


Copy constructors and copy assignement operators in inheritance

Let us see how copy and move constructors and overloaded operator= work with inheritance. The first thing to remember is that copy and move constructors and copy and move assignment operators are not automatically inherited from the base...

c++ 
object-orientation 
inheritance 


Deep copy constructor and assignment operator

This is something I have seen at almost all C++ coding interviews I had. 

Having a raw pointer in a class, there is a need for a constructor that copies not only the pointer but the data it points to as well. The same applies to...

c++ 
object-orientation 
constructor 


Observer design pattern in Python

The observer pattern is a useful design principle allowing some objects to be notified about a change that happens in another object. It provides a way to implement a "subscription mechanism", widely used in web, GUI, or...

python 
design patterns 
object-orientation