Conversation
Ride ShareWhat We're Looking For
Good job! The data structure is formatted really well and the variables are well-named. If there were one thing I could suggest that will be helpful in the future, it would be to make use of built-in methods like map and sum when working with arrays/hashes. Everything here is spot on! You basically wrote your own versions of sum and map methods which is great to be able to do - just wouldn't want you to continue to do all that work all the time moving forward. This is kinda nit-picky but the spacing for this assignment is set to 4 instead of 2. It's easier for us to read (and considered best practice) to space to 2. Feel free to talk to any of us or a fellow student about that if you're unsure how to do it. I want to reiterate though, Great work! |
ride share
Congratulations! You're submitting your assignment.
Comprehension Questions
.map? If so, when? If not, why, or when would be a good opportunity to use it?