Skip to content

Conversation

@Lasiorhine
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 exploited the ordered nature of the array using the random sort, so no.

| Did you find yourself repeating the same code? Why did you have to do it that way? | |

A little, but I think that trying to make a method to eliminate the duplication would have made things less readable and ultimately longer.

| What type of loop did you use? Why did you choose that type? | |

I used a times loop to create the dish-names, and then I used an each loop to print them out. I used the times loop because I wanted to perform the action a specific number of times, and I used the each loop because I wanted to use each_with_index to do the numbering.

@Lasiorhine Lasiorhine closed this Feb 6, 2018
@Lasiorhine Lasiorhine reopened this Feb 6, 2018
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