Skip to content

Conversation

@hannahlcameron
Copy link

Grocery Store

Congratulations! You're submitting your assignment.

Comprehension Questions

Question Response
Why is it useful to put classes inside modules? it's useful to put classes inside modules so that variables are name-spaced and so that its easier to call methods between the various classes
What is accomplished with raise ArgumentError? NA
Why do you think we made the .all & .find methods class methods? Why not instance methods? these are class methods so that they can find ALL instances of orders, not just one order
Why does it make sense to use inheritance for the online order? it makes sense to use inheritance since online orders feature almost all of the attributes and methods of orders, but there are some additional attributes and methods. No need to re-write.
Did the presence of automated tests change the way you thought about the problem? How? having testing is super helpful for me because it forces me to think about one step at a time as opposed to the full picture at the same time

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.

1 participant