Airline Reservation OOD: Stop Treating “Seat” as a Boolean
Airline Reservation OOD: Stop Treating “Seat” as a Boolean
In interviews and real-world systems alike, one of the most common design mistakes is modeling Seat.availability as a simple boolean (true/false). A seat is not just "free/busy" — it has dis...
blog.bugfree.ai3 min read