Page 20

TCP vs. UDP: The 'Registered Mail' Mental Model
Why does video calling glitch but file downloads pause? A mastery guide to the 3-Way Handshake, Head-of-Line Blocking, and why UDP is winning (HTTP/3).

SP6 - Object Pool - Learn Design Pattern From Simple Things
Manufacturing planes is expensive, but raw parts are reused from a pool. That's the Object Pool pattern - reduce creation cost with smart reuse.

SP5 - Facade - Learn Design Pattern From Simple Things
Many departments, one entrance. The Facade pattern simplifies complex systems by exposing only what you need. Learn it from simple everyday things.

SP4 - Mixer - Learn Design Pattern From Simple Things
You are a dog farm owner who manages the properties of all dog breeds. The number of crossbred dogs is increasing every day because of the emergence of new breeds!

BP10 - Mediator - Learn Design Pattern From Simple Things
Airport control towers don't let pilots talk directly - they route everything through a hub. That's the Mediator design pattern.

BP9 - File History - Learn Design Pattern From Simple Things
Undo and redo look simple on the surface, but how do they work internally? Learn the Memento pattern from simple editing software.

BP8 - Visitor - Learn Design Pattern From Simple Things
A doctor examines every patient without the patient changing. That's the Visitor pattern - add operations to objects without modifying them.

BP7 - Template Method - Learn Design Pattern From Simple Things
Every barista follows the same coffee recipe but can swap beans and milk. That's the Template Method pattern from simple everyday things.

BP6 - State - Learn Design Pattern From Simple Things
A traffic light cycles through red, yellow, green - each state has its own behavior. Learn the State design pattern from simple things.