Kevin Thien wrote:I don't really understanding why the base code we were given to work off of passes routes down as the variable when we want to begin booking.
Kevin Thien wrote:Route has Days. Days have Pods...Trip has routes and a Flight.
Winston Gutkowski wrote:Third: I can see why a Trip might equate to a set of Routes, but then why only a single Flight?
Steve Luke wrote:The Trip is not a collection of Routes, it is a collection of Flights. The Routes object is passed in to Trip for a purpose, but you will notice there is no place to store it, and you will notice it is passed in again in the only other method in Trip, so the intent is not to store Routes in Trip.
What's brown and sticky? ... a stick. Or a tiny ad.
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton