I don't know if I understand what a symbol is. I read the following in different places:
- Symbols are immutable, meaning that the content won't change after they are initialized. This means that the object can have many references to it since the content can't change.
- Use Symbols for identity and strings where content matters.
- Symbol object are only instantiated once, and exists as long as the process runs.
- About symbol table
I do not understand these phrases. Last, I don't understand what a symbol object is. Is :name a symbol object, or is :namejust a reference to a symbol object somewhere else?