On Wednesday, September 12, 2012 11:00:08 AM UTC-4, Gary Weaver wrote: > > Symbols are Ruby's answer to the StringPool. >
btw- I shouldn't have said it like that. That makes it sound like symbols were invented as a reaction to Java's StringPool. I just said this because the way you can continuously refer to a symbol and get the same object_id is similar to referring to a string that has been stored/retrieved from StringPool in Java. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-core/-/sAIZHywo8dQJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
