Skip to content

Conversation

@ashtn
Copy link

@ashtn ashtn commented Feb 9, 2017

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? Yes! (I think) We could use the parameters for the array (i.e. adj, style of cooking, and food) as the Key in the hash, and the values associated with the key's as the key values.
Did you find yourself repeating the same code? Why did you have to do it that way? Not too much, just the structure of the code inside the loop was repeated because I needed to run the same code(functions?) for each array.
What type of loop did you use? Why did you choose that type? I used a times loop because I already knew exactly how many times I needed to iterate over the array.

ashtn added 2 commits February 9, 2017 09:11
found a random period that makes my code not work =/
@kariabancroft
Copy link

Random Menu

What We're Looking For

Feature Feedback
Random Menu of 10 items displayed in the terminal. Yep!
Generator pulls one random item from each array to create menu items. Yep! Nice job using the rand method with a range.
Baseline
Readable code with consistent indentation. Code structure and indentation look good. Nice use of whitespace and comments.
Extras
I'd love to see an else on your if statement that is checking the "yes" string to give the user some feedback on why you didn't generate them a menu.

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