This post originated from an RSS feed registered with Python Buzz
by Hans Nowak.
Original Post: Symbols vs strings
Feed Title: Efectos Especiales
Feed URL: http://www.zephyrfalcon.org/weblog2/rss.xml
Feed Description: Ramblings, rants, musings, ideas and observations. Topics include (but are not limited to): programming (especially Python), books, games (especially CCGs and board games), astrology, design, writing, painting, etc.
Read this article: Understanding Ruby symbols. (Pointed out to me by reader Jordan.) Basically, Ruby creates a new string object for every string literal it encounters. ... [289 words]