Category
1 article in this category
TLDR: Designing Uber isn't just about maps; it's about managing state. A ride goes from REQUESTED to ACCEPTED to COMPLETED. We use the Strategy Pattern for pricing (Surge vs. Standard) and the Observer Pattern to notify drivers. This guide walks thro...