# A New Deal Every Week

A New Deal Every Week: Weekly Deals: Pass the Rule In.

Updated: November 17, 2026

1. [Weekly Deals: Pass the Rule In](https://www.ask-codey.com/lessons/dp-weekly-deals) (Apprentice): When this week's deal is picked by a switch inside checkout, every new deal means editing the code that handles the money; handing the deal into checkout as a function, the Strategy pattern in its simplest form, lets a new deal be written without touching checkout at all.

Source: https://www.ask-codey.com/courses/design-patterns/topics/dp-a-new-deal-every-week
