When to use the Clean Architecture?
Enthusiasm, doubt, opposition There are few possible reactions after learning about the Clean Architecture or Hexagonal Architecture (AKA Ports & Adapters) or even merely innocent service la...
Enthusiasm, doubt, opposition There are few possible reactions after learning about the Clean Architecture or Hexagonal Architecture (AKA Ports & Adapters) or even merely innocent service la...
What is a mock? Mock is a category of so-called test doubles - objects that mimic the behaviour of other objects. They are meant to be used in tests to replace real implementation that for some ...
Type annotations are a formalized way to add some extra information about types to your project. Once you get through adding mypy to your project and annotate your code (remember you can do it aut...
Even after successful integration of mypy with an existing project (see mypy: how to use it in my project part 1), there are tons of code that does not have type annotations. Adding them manually ...
Type annotations are like comments Type annotations are a great addition to Python. Thanks to them, finally our IDEs are able to provide good quality autocompletion. They did not turn Python int...
High-quality code review is one of the secrets of the most effective teams. Over the years I noticed a few interesting ways to approach it. Now I share them with you in this article. Recipe 1: S...
It is my pleasure to announce that my book is finally available to buy. :) https://leanpub.com/implementing-the-clean-architecture Free sample is available there as well. The books focuses ...
tl;dr ensure_future let's us execute a coroutine in the background, without explicitly waiting for it to finish. If we need, we can wait for it later or poll for result. In other words, this is a ...
(Hey! This article is almost 2 years old :) Look here for something about the Clean Archictecture in 2021) An ideal project? If someone asked about the features of an ideal project, responses ...
This article has been originally included in a PyconPL 2018 conference book. Abstract Nowadays there is no need for convincing anyone about the enormous advantages of writing automated tests for th...