Comment by an0malous
8 hours 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
8 hours 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
No comments yet
Contribute on Hacker News ↗