Imperative vs.Declarative Suppose you're going to a restaurant for dinner and need a table Option 1: "First I need to find a table,so I'll look through every available table and pick the one in the best location that has enough seats for my group,then I'll need to find someone to wait on me and make sure I have enough menus,then..." Option 2: “Table for two!""Imperative vs. Declarative Suppose you’re going to a restaurant for dinner and need a table Option 1: “First I need to find a table, so I’ll look through every available table and pick the one in the best location that has enough seats for my group, then I’ll need to find someone to wait on me and make sure I have enough menus, then…” Option 2: “Table for two!