Ok, I’m sure this one has been addressed ump-teen times, but everything
at least on the rails side, puts symbols in the ‘magic’ space where you
to know how they’re implemented–or what they are for that matter–you
to know how to use them.
Anyway, I’ve done a bit of programming in C so understanding it in those
going to hurt too much… can anyone explain?
So far, the most elegant explanation comes from a discussion on LISP:
“Symbol type: Symbols are effectively pointers to strings stored in a
hash table. So you can test equality by comparing a pointer, instead of
comparing each character.”
Is this relevant?