Loading page…
A statement exported as CSV, PDF or Markdown: why a function per format drifts apart, how Template Method puts the order of the steps in a base class, fixed, abstract and hook steps, inheriting the steps versus handing them in as a strategy, why the vending machine's base State is not a template method, and when not to use it.
A customer downloads a bank statement twice, once as a CSV and once as a PDF.