Understanding use cases of Interfaces and Abstract Classes

5 mins read Interface We know that an interface is defined by the interface keyword and all methods are abstract. All methods declared […]

SOLID Principles: simple and easy explanation

9 mins read SOLID Principles is a coding standard that all developers should have a clear concept for developing software in a proper […]

Understanding Metaclasses in Python

31 mins read At first word, Metaprogramming seems a very funky and alien thing but if you have ever worked with decorators or metaclasses, you were […]

Everything you should know about Python Decorators – A complete tutorial on Python Decorators

49 mins read A decorator takes in a function, adds some functionality, and returns it. In this article, you will learn how you […]

Steps to Deploy Django with Postgres, Nginx, and Gunicorn on Ubuntu 18.04

6 mins read In this guide, I will go through all the steps to create a VPS, secure it and deploy a Django […]

A simple guide to understand JavaScript closures

11 mins read Closures in JavaScript are one of those concepts that many struggles to get their heads around. In the following article, […]

Best practices for Python exceptions

9 mins read How do I manually throw/raise an exception in Python? Use the most specific Exception constructor that semantically fits your issue. […]

Difference between sessions and cookies – Djnago Example

15 mins read Cookie A cookie is just a key-value pair that is stored in the user’s browser. A cookie is sent to […]

A tutorial on Virtual Environments in Python

20 mins read What Virtualenv Is Virtualenv is a great piece of software. It allows creating virtual environments. Each of them can have […]