Dependency Injection and Dependency Inversion
Dependency injection and dependency inversion are two terms that often come together but serve distinct meanings and purposes.
Dependency injection and dependency inversion are two terms that often come together but serve distinct meanings and purposes.
Flaky tests and brittle tests are two common pitfalls that make our tests unreliable and hard to maintain. In this post, I will illustrate these concepts wit...
Previously, I posted a tutorial on creating and configuring an Amazon VPC by using AWS CDK. All the examples in that post are based on L1 constructs to illus...
Memory management in modern programming languages is well-abstracted away from programmers. We do not have direct control over how our programs allocate and ...
What is Property Based Testing? Property based testing, which is known to be originated by QuickCheck, is a testing technique which randomly generates test c...
This post is a quick tutorial to build a very simple serverless function using Amazon API Gateway and AWS Lambda.
Consumer-driven contract testing (or CDC for short) is a testing methodology that ensures that providers are compatible with the expectations that the consum...
The single-responsibility principle is one of the SOLID principles, the most widely accepted software design guide. I intentionally added “widely accepted” t...
The AWS CDK(Cloud Development Kit) is an open-source framework to provision and manage the cloud resources using familiar programming languages.
A couple years ago, I discovered an issue caused by a race condition that occured in the backend application I was maintaining. So I implemented a simple dis...
The circle-ellipse problem, or square–rectangle problem, illustrates a limitation of OOP (object-oriented programming). Specifically, it violates the Liskov ...
A descriptor in Python is a class attribute which defines any of the special methods: __get__(self, obj, owner=None) -> value __set__(self, obj, valu...
Flask and Sanic Flask is one of the most popular micro web frameworks written in Python and I love using it for developing a wide range of web services becau...