Subscribe to RSS Feed
Twitter
HIRE ME! home  archives  about  blogroll

Ruby symbols.

21 Apr 2008

Symbols are not pretty strings

Wat nemen we mee:

Conceptually, if it’s a name for something in code, it should be a symbol. If it’s domain data, it should be a string. If it’s both, it’s probably better to go with a symbol.

blog comments powered by Disqus