Kurt McKee

lessons learned in production

Latest entries

Keep code style out of code reviews | 19 July 2021

Code styles are the result of personal preferences, past experiences, and code editor settings (and plugins!). Discussing code style in code reviews is unproductive. Put code style checks in pre-commit hooks where they belong.

Monkeypatching: The basics | 19 July 2020

Monkeypatching is a common word among Python programmers. But what is it?

This post is an introduction to monkeypatching.

Design for "and" and "or" | 12 June 2020

Remember that one time when your software requirements changed and you realized that you would have to make dramatic changes to your code? Remember how that's only happened to you once?

I've been working on the same codebase for eight years. During that time I've learned that requirements change, and I've slowly learned some design patterns that can help make code flexible enough to accommodate changing requirements.

I'd like to share some of those experiences and lessons with you.