Austin Ziegler wrote:
...
> Do I *really* care that they're stored in Ruby on the internal symbol table?
>
> No. Not in the last two and a half years have I cared once. Sure, it's
> nice that they only end up representing a single object, but I really
> have never cared how they're represented. I use them for what they
> *are*, not how they're implemented. And what they are, is names.
After trying to follow all this, I've come to see Symbols as being more
akin to numbers than strings.
They're numbers with a human face.
James
--
http://www.ruby-doc.org - Ruby Help & Documentation
http://www.artima.com/rubycs/ - Ruby Code & Style: Writers wanted
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com - Playing with Better Toys
http://www.30secondrule.com - Building Better Tools