Skip to content

Conversation

@jackiewatanabe
Copy link

Mood Analysis

Congratulations! You're submitting your assignment.

Comprehension Questions

Question Answer
Would a hash work just as well as an Array in this project? Why? I think hashes would have worked since there are three types of data (adjective, cooking style and food), which would be the keys and the values would be the words. I'm not sure I quite understand how I would implement that though
Did you find yourself repeating the same code? Why did you have to do it that way? Not necessarily? The only sort of repetition I used was to manually create each list (adjective, cooking style and food). I did it that way because I had to choose to give the program set lists of words
What type of loop did you use? Why did you choose that type? I used a counter-controlled loop because there was a set count of menu items to create.

@kariabancroft
Copy link

kariabancroft commented Feb 10, 2017

Random Menu

What We're Looking For

Feature Feedback                                                                              
Random Menu of 10 items displayed in the terminal. Check
Generator pulls one random item from each array to create menu items. Check
Baseline
Readable code with consistent indentation. Well done
Extras
Other Answering: "Would a hash work just as well as an Array in this project? Why?" You might be able to create a hash with keys, Adjective, Preparation & food which map to arrays. Using 3 hashes in place of the arrays, might work, but it would be awkward because it's hard to select a random item

Summary:

Overall well done, you covered all the essentials.

-- BTW this is Chris on Kari's account.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants