Hi,

My question is about design of libraries for ClojureScript.

So for ex, there is clojure.test which has some public API. Now assume one 
has used it and is comfortable with its API.
Now he has to write some ClojureScript code and wants to write some unit 
tests as well.

Obviously, he'll use some pre-existing JS library / framework, but it will 
have its own API.
Now -

1) Does it make sense to write a ClojureScript wrapper over existing JS 
libraries (as there are wrappers over many Java libraries / frameworks)?
2) Does it make sense, or is it better if this ClojureScript wrapper, 
exposes the same (as far as possible) or similar API to that of one of the 
Clojure libraries? The obvious advantage being the programmer has to get 
accustomed to just one API, which works for Clojure as well as 
ClojureScript.

Please let me know your views.

Thanks,
Manoj.

-- 
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

Reply via email to