OOP and Design Patterns · Real-world situation · Beginner
Adding logging and metrics to many methods
You need to add timing metrics and logging to every method of your payment client, and copying the code into each method feels wrong. What would you do?
2:00