Y
Hacker News
new
|
ask
|
show
|
jobs
by
an0malous
210 days ago
That’s not much more of a foot gun than:
user[“1”] = user[1]
Symbols are always taught as a first class object in Ruby, not just syntactic sugar for accessing hashes. “foo” does not equal :foo