Symbols are immutable, reusable names represented with a colon :
.
They are faster and consume less memory than strings.
:age # symbol
"age" # string
Symbols are immutable, reusable names represented with a colon :
.
They are faster and consume less memory than strings.
:age # symbol
"age" # string
Leave a Reply