re: Hashes and symbols in Ruby VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Symbols always start with a colon : and they must be a valid variable name (Emphasis is mine.) This is very confusing and I’d say wrong. I doubt...
 

Snakecase?

so_😎_cool = "So 😎 cool"
puts so_😎_cool # puts So 😎 cool
 

I am not sure I follow.

With snakecase is obviously works. I just pointed out that β€œmust be a valid variable name” is a wrong statement.

code of conduct - report abuse