DEV Community

Discussion on: Explain :colon and colon: in Ruby Like I'm Five

Collapse
 
andy profile image
Andy Zhao (he/him)

Oh interesting! Didn't know that. I personally think it's a bit confusing to have do "string": or :"string"if you wanted to have a key as a String instead of a Symbol. Good point to bring up though.