Shortening developer's feedback loop
What’s a shared secret sauce for agile methodologies and developer’s productivity? If I was asked about one thing you have to optimise to make both agile methodologies and developer productivity w...
What’s a shared secret sauce for agile methodologies and developer’s productivity? If I was asked about one thing you have to optimise to make both agile methodologies and developer productivity w...
When I was a teenager who knew PHP basics, I wondered which programming language to learn next. After some hesitation, I chose Java. I bought a book and started writing simple programs with GUI. A...
pip install BDD? There are two popular libraries that help writing BDD specifications in Python - pytest-bddand behave. Both are popular, actively maintained and feature-complete. I worked with b...
Welcome to the second post from the GRASP series. GRASP stands for General Responsibility Assignment Software Principles. It is a great aid for Object-Oriented Design (but not really exclusive for ...
This is a follow-up post to Stop naming your Python modules "utils". This time, let's see different options on organizing utility code. What is utility code? It is code that is created as a si...
tl;dr Popular Python web frameworks have less significant differences than it appears. Then, there's Django which makes all competition look micro. Even given the rising popularity of FastAPI, I st...
Welcome to the first post from the GRASP series. GRASP stands for General Responsibility Assignment Software Principles. It is a great aid for Object-Oriented Design (but not really exclusive for O...
Exceptions are a standard way of signalling errors in Python. If you have ever written some code in this language, I bet you saw at least a couple of them. :) Python has quite a few built-in except...
The problem One antipattern I see over and over again in OOP Python code (e.g. with service layers in Django) is mutating attributes from the outside of a given object: # more like pseudocode ...
Batteries included can give you headache unittest.mock.[Magic]Mock and unittest.patch are powerful utilities in the standard library that can help us in writing tests. Although it is easy to star...