Skip to content

Conversation

@calopter
Copy link

Grocery Store

Congratulations! You're submitting your assignment.

Comprehension Questions

Question Response
What is accomplished with raise ArgumentError? execution is halted
Why do you think we made the .all & .find methods class methods? Why not instance methods? because they don't relate to a specific customer or order
Think about the relation between Order and Customer. Is this relation one-to-one, one-to-many, or something else? How does that compare to the Solar System project? many to one. solar system doesn't have orders or customers.
How is the relation between Order and Customer tracked in the CSV file? How is it tracked in your program? Why might these be different? in csv, order has a customer id. the program replaces this id with a corresponding customer instance.
Did the presence of automated tests change the way you thought about the problem? How? I didn't think about how end users would interact with the code.

@jmaddox19
Copy link

Incredibly succinct, clean code! Really cool to see you committing each time you added or updated a new piece!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants