Exercise hash_exercises.rb: rename favorite_list to favorite_hash for clarity#97
Open
sometimescasey wants to merge 1 commit intoTheOdinProject:mainfrom
Open
Exercise hash_exercises.rb: rename favorite_list to favorite_hash for clarity#97sometimescasey wants to merge 1 commit intoTheOdinProject:mainfrom
hash_exercises.rb: rename favorite_list to favorite_hash for clarity#97sometimescasey wants to merge 1 commit intoTheOdinProject:mainfrom
Conversation
JoshDevHub
approved these changes
Feb 14, 2024
Contributor
JoshDevHub
left a comment
There was a problem hiding this comment.
This is a nice change. Thanks for making it. Definitely agree that using hash makes things a bit more clear, especially for people who may have some familiarity with languages that have a List type (python, C#, and so on).
Sorry it took several weeks for us to get around to reviewing it.
One quick thing I wanted to ask @sometimescasey : this repo has a solutions branch that holds the answers to all of the exercises. You can view it here. Would you be okay making another quick PR that makes the same changes to that branch?
If you don't want to, that's okay and we can put someone else on it. Just let me know.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Because
favorite_hashis a less ambiguous parameter nameThis PR
favorite_listtofavorite_hashinhash_exercises.rboriginal_listandadditional_listIssue
Closes #96
Additional Information
Pull Request Requirements
location of change: brief description of changeformat, e.g.Data types exercise: Update spec filesBecausesection summarizes the reason for this PRThis PRsection has a bullet point list describing the changes in this PRIssuesectionsolutionsbranch, I have created another PR (and linked it to this PR).