This week we talk with Adam Johnson, Python developer / consultant, Django steering counsel member and prolific book author. Listen here: Or check it out on our YouTube channel: We start off with some wins, then we dive into his new Boost your Git DX book. We also discuss:• Adam’s focus on DX or “developer experience”… Continue reading Maximizing Your Developer Experience (DX) with Adam Johnson: Git Mastery, Django and Open Source
Articles on pre-commit
When to refactor your code?
By Rob van der Leek on 11 August 2023
How to make refactoring part of your Definition of Done Writing code is an iterative process. The first iteration is usually not the best result. Grooming and polishing ✨ are needed before the code is ready to share with the world (and your future self). There is a saying in software development that illustrates the… Continue reading When to refactor your code?
Tips for clean code in Python
By Bob Belderbos on 8 November 2022
In this article I will give you 10 tips for cleaner code. Hope this helps improve your Python code. 1. Smaller units. Break long functions (methods) into multiple smaller ones that do one thing (SRP or “Single-responsibility principle”). This will make your code more modular and easier to test. For example, a function that parses… Continue reading Tips for clean code in Python
Single or double quotes in Python?
By Bob Belderbos on 20 September 2022
Whatever you think about Twitter these days, it’s pretty handy for us developers to ask questions and get inputs 💡 Last week I asked about single vs double quotes in Python: I thought double quotes were a given, black – “The Uncompromising Code Formatter”, defaults to them and I personally find them pleasant to the eye.… Continue reading Single or double quotes in Python?
A debugging tale
By Bob Belderbos on 6 March 2022
I ran into an interesting issue debugging the other day … I used isort with pre-commit to automatically sort imports before committing my code. This is a huge time saver and I am very thankful for both tools, as well as black and flake8. They save a ton of time and they instantly boost the… Continue reading A debugging tale
The Benefits of Using GitHub Actions
By Bob Belderbos on 13 August 2021
If you’re not using GitHub Actions you’re missing out! This tool is a great way to catch any errors in the central place of the GitHub repo. Catch errors early Of course this is always second best, developers should do their due diligence locally first before pushing code: Some of my favorites in that regard… Continue reading The Benefits of Using GitHub Actions