All the single(ton) ladies
The singleton creational design pattern is a great one to reach for if you need only one instance of an object.
Introducing… Stash Pass CLI!
stash-pass-cli is a command-line tool for securely managing your passwords locally. All data is encrypted using a master password and never leaves your machine.
The Context Object Pattern: Stop Passing 11 Arguments Everywhere
Learn how the Context Object Pattern simplifies code by replacing long function signatures with a single structured context object.
Too Many __init__ Arguments Walk Into a Bar… Meet the Builder Pattern
The builder pattern is a creational design pattern that seeks to make creating objects flexible by separating the object from the construction of the object. Here, I describe the pattern with an example using Python.
Factories are friends
The next time you find yourself in an if/elif/else chain when you are creating instances of something, consider whether the factory method can help your code be cleaner and more extensible for future needs!