OOP and Design Patterns · Real-world situation · Intermediate
Report generators with duplicated steps
You have PDF, CSV and Excel report generators that all fetch data, filter, sort and format, with the first three steps copied in each. How do you remove the duplication?
2:00