csev / cc4e

C Programming for Everybody
https://www.cc4e.com/
Other
260 stars 90 forks source link

changed getHash to getBucket #90

Closed OmarEid451 closed 2 months ago

OmarEid451 commented 2 months ago

Changed the Hash Map assignment description from "We use the getHash() function" to "We use the getBucket() function."

This should remove confusion as the assignment prompt will now match the functionality of the code.

csev commented 2 months ago

Thanks - I have changed my mind several times on Hash versus Bucket :)

OmarEid451 commented 2 months ago

Thanks - I have changed my mind several times on Hash versus Bucket :)

You're Welcome! It makes sense why you would switch so much. The names convey different concepts with regards to what the hash function actually does in the code, and it is difficult to pick the one that's best for teaching.