Hacker News new | ask | show | jobs
by thaumasiotes 1534 days ago
> It could get most of the same practical upside of symbols from interned strings

Aren't symbols and interned strings the same thing? Of course you can get all the upside of symbols by having symbols...?

1 comments

Yeah—to reference a symbol `:foobar` in MRI's C API, you even call `ID2SYM(rb_intern("foobar"))`