-
State Design Pattern
It compiles, passes test cases, works on production, but is it enough? A very important key component of any software system is its design. We’ll look at one of the ways you can better design your software for maintainability and readability in this post. Let’s understand State Design Pattern with...
Tags: LLD - Design-Patterns - State - Python - Idiomatic -
WebGL is Underrated
TL;DR The following article shares the learnings I’ve had getting our game up and running on the WebGL platform. With WebGL you open doors to a much wider audience since it runs on all modern browsers and so is already cross platform. You may consider WebGL if yours is not...
Tags: WebGL - Unity - Deep-Dive - Guide - Design - Lessons -
A Stateless Auth System (High Scalability)
Any system is incomplete without an Auth subsystem. It is one of the most core and critical components of all since it acts as an entrypoint for all requests made to your system. But before we dive into the design that I am going to discuss in a while, let’s...
Tags: HLD - System-Design - Authentication - Authorization - High-Scalability -
Check for Missing Keys in Python Dict
Dictionaries are one the most useful and widely used data structures of all time. And sooner or later we face the problem of accessing missing keys in the dictionary. Lets have a look at the problem first: periodic_elements = { 'H': 'Hydrogen', 'He': 'Helium', 'Li': 'Lithium', } # Lets blow...
Tags: Idiomatic - Python - Dictionary