Not My Type #5 Noob Question


#1

I'm forgetting some key functions of Ruby..

Why do you have to change the movie title into a Symbol, and the rating into an Integer? Is that necessary? I coded without converting it into the respective identifiers and puts it on the screen just fine without them. Any help would be greatly appreciated. Thanks!


#2

One practical reason would be for consistency. All the data is integer, and all the keys are symbols.