Magento 2 Interceptors
A colleague at work told me about the way you can use interceptors in Magento 2 to wrap up before/after functionality of existing classes. This is a pretty good overview of how that works written by Jisse Reitsma.
Found this useful? Everything here is free and stays that way. If it saved you an afternoon, you can buy me a coffee.