Property testing with hypothesis
Testing is a huge field and takes a significant amount of time to master. There are several types of tests, like unit, functional, integration, end-to-end (e...
Testing is a huge field and takes a significant amount of time to master. There are several types of tests, like unit, functional, integration, end-to-end (e...
Dependency injection is a technique that “injects”/passes dependencies between objects in a way that leads to code that is easier to test and maintain.
Queues are a really useful data structure that are being frequently used both in application code and are also utilized by libraries. In this post, we’ll see...
Memoization is loosely defined as an optimization technique that is usually applied on functions that are quite expensive to run.
SOLID is a set of principles that lead to cleaner, more maintenable and extensible code. The first principle is the Single Responsibility Principle or SRP.
There are several cases where we need to generate a unique identifier in our applications. One way to do it is to roll your own implementation, usually rando...
Recently, I had to parse an SQL-like statement coming in as a query parameter for an python API endpoint. This mini query language had to support AND, OR and...
In the past few years, functional programming’s popularity has increased and new languages (like elixir or scala) that embrace it have been created. But what...
There are several occasions where we need to encrypt some data, whether they are fields in a database or files. In some cases, encryption is needed in order ...
Recently I read about the circuit breaker pattern and I believe it is an interesting pattern with many use cases in today’s microservices-centric universe :)