On 8 February 2013 03:01, jeremyevans0 (Jeremy Evans) <
merch-redmine / jeremyevans.net> wrote:

>
> phluid61 (Matthew Kerwin) wrote:
> >  > Take the Sequel library for instance.
> >
> >  No thanks, apparently the authors don't know the difference between
> Symbols
> >  and Strings.
>
> Sequel uses symbol keys instead of string keys intentionally.  Sequel maps
> SQL features directly to ruby objects, mapping SQL identifiers
> (columns/tables/aliases) to ruby symbols and SQL strings to ruby strings.
> SQL query results can be thought of as a mapping of SQL identifiers to the
> values for each identifier in the query, thus Sequel uses a hash with
> symbol keys.


Sorry, I was being glib.

Interestingly, this is actually an example of Symbols being used correctly
(or at least, not just out-right incorrectly).  It's a pity people see this
is a problem to be worked around, rather than a feature.