the learning desk
Learn the idea.
Build the thing.
Tutorials for the moment a concept needs to become working software. Start with a real problem, run the code, and understand the tradeoffs.
Explore a series
01 series availableSOFTWARE DESIGN / 01Design patterns,
Explore 3 tutorials Design patterns,
in practice.
A shipping checkout. An order-event system. A courier integration. Learn the patterns by solving the problems that call for them.
01
Strategy
Change the shipping rule. Keep the checkout.
02
Observer
One order. Several independent reactions.
03
Adapter
Two couriers. One tracking interface.
A problem first
Understand the pressure that makes a pattern useful.
Code you can run
Download complete TypeScript examples with expected output.
Room to experiment
Change inputs, inspect results, then try a small extension.