2021-05-30

A tutorial on Context Managers in Python

9 mins read Python’s context managers are great for resource management and stopping the propagation of leaked abstractions. You’ve probably used it while […]
2021-02-13

Python testing tutorial using pytest

18 mins read Testing your code brings a wide variety of benefits. It increases your confidence that the code behaves as you expect and […]
2020-05-09

Installing g++ (C++ Compiler) on Windows

11 mins read Follow these steps to install g++ (the GNU C++ compiler) for Windows. There is no room for creativity here; you must […]
2020-01-28

A complete guide to Python’s magic methods with example

33 mins read Introduction What are magic methods? They’re everything in object-oriented Python. They’re special methods that you can define to add “magic” […]
2020-01-07

Python Data Structures and operations time complexity

< 1 min Here is a list of references for the time complexity of operations in different Python Data structures: https://intellipaat.com/blog/tutorial/python-tutorial/data-structures-with-python-cheat-sheet/ https://cooervo.github.io/Algorithms-DataStructures-BigONotation/index.html https://wiki.python.org/moin/TimeComplexity […]
2020-01-05

Git Rebase Tutorial

5 mins read If you are a beginner in the Software Industry, version control would be one of the headaches that you come […]
2020-01-05

Git Branching Workflows Tutorial

17 mins read In this article, we will cover the most popular branching workflows for Git users, so you can decide which fits […]
2019-12-29

Simple Factory and Factory Method design patterns

2 mins read Simple Factory: Definition: Creates objects without exposing the instantiation logic to the client. Refers to the newly created object through […]
2019-12-28

Builder design pattern explained

14 mins read Intent Builder is a creational design pattern that lets you construct complex objects step by step. The pattern allows you to […]
2019-12-27

Deep dive to super() method in Python for single and multiple inheritance

15 mins read While Python isn’t purely an object-oriented language, it’s flexible enough and powerful enough to allow you to build your applications […]
2019-12-27

Understanding __new__ and __init__ magic methods in Python

4 mins read The purpose of this post is to discuss __new__ and __init__ methods in Python. The __new__ and __init__ methods behave differently between themselves and between the old-style […]
2019-12-27

Python __new__ magic method explained

10 mins read Python is an Object-oriented language, everything is an object in python. Python is having a special type of method called […]
2019-12-26

The Command Design Pattern

16 mins read Intent Command is a behavioral design pattern that turns a request into a stand-alone object that contains all information about the […]
2019-12-26

Observer Design pattern

14 mins read Intent Observer is a behavioral design pattern that lets you define a subscription mechanism to notify multiple objects about any events […]
2019-12-25

Strategy Design Pattern

9 mins read What Actually a Strategy is? Let’s start with a formal definition then we’ll break it down. The definition taken straight […]