Comment

Comment by eloisius

> In Ruby 2.2, symbols will be garbage collected like all other Ruby objects

This sounds like it must be an oversimplification. What benefit do symbols have over strings, other than immutability? I thought their persistence in memory was a main selling point for using them as hash keys, for instance.

parent eloisius 12 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton