I would not use keyword namespaces in this situation. Users of the "fetch" 
function will likely type :timeout, :status, and :body when using this 
function. Keyword namespaces would just force users to type longer names 
for these.


On Sunday, September 30, 2018 at 9:45:56 PM UTC-4, Michael Gardner wrote:
>
> I'm looking for some feedback on keyword namespacing. Say you're writing 
> an API to be used by external clients that works something like this: 
>
> (fetch url :timeout 10) 
> => {:status 200, :body "..."} 
>
> Would you namespace the :status and :body keywords in the response? What 
> about the :timeout kwarg in the function call? Why or why not?

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to