Hi,

Would it be better if resultset-seq mapped column names like ITEM_ID
to ":item-id" rather than ":item_id"?

I am using a variation of Itay Maman's Application Context Pattern
which, among other things, keeps state in a map wrapped in a closure.
I have a lot of keywords being passed around. that access the map.

For keys related to resultsets I am forced to used keys like :item_id
rather than ":item-id" which, frankly, makes it hard to remember what
I have to type. In particular, the functions that use data in the
state map should not be concerned about where it originally came from.
So some sort of naming convention base on "_" for data that came from
a database and "-" for other stuff, would never work.

I realize that this is probably way too late. And maybe the current
way is better anyway.

pc


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to