On Wed, Mar 7, 2012 at 10:04 AM, Jeremy Evans <[email protected]> wrote:
> On Wednesday, March 7, 2012 12:29:57 AM UTC-8, Peter van Hardenberg wrote:
>
> * Hash keys should be strings, not symbols

agreed

> * HStore should be a DelegateClass of Hash, not a subclass

agreed

> * Make Hstore#[]= convert input key and value to strings before storing

i'm iffy on this...

> * Consider using the default proc of {|h,k| h[k.to_s]} for the hash so that
> you can access values with symbols even though they are stored as strings

... but if this is done i'm less concerned.

> * Refactor the parsing somewhat

glad to help here

-- 
Peter van Hardenberg
San Francisco, California
"Everything was beautiful, and nothing hurt." -- Kurt Vonnegut

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
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/sequel-talk?hl=en.

Reply via email to