Hi Daniel,
I agree with your points on writing the wrapper for Java libraries in Clojure.
The work I did to this moment was more driven by a necessity, but I
think it would be worthwhile to build some kind of plan of covering
the basic and not-so-basic scenarios of using JGit API and work on
making sure that using clj-jgit for those scenarios results in a clean
and idiomatic Clojure code.
My concerns about having one-to-one match for JGit API are:
* Quite often JGit API has lots of tiny details that 99% of people are
not going to care about and if they do they can fall back to using
Java interop
* We have to be really careful about exposing mutable objects so
probably some tiny levels of API have to be combined in a more generic
calls encapsulating the mutable state
In general, I would love clj-jgit to be a simple API that would be
straightforward and easy to use, without exposing the unnecessary
internal implementation details onto developer. Something that people
can use to hack on a simple hobby project, but also something that
performs well in a high load production environment.
I'm going to write a small blog post about this on Beanstalk blog,
with a small story how we extracted code from our caching daemon into
clj-jgit and subversion-clj projects, so I was thinking that it would
be great if you could give me a final github link to the repo in the
organization already.
Thanks and keep up the great work!
> --
> You received this message because you are subscribed to the Google Groups
> "clj-jgit" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/clj-jgit/-/2D14lcb0rCAJ.
> To post to this group, send email to
clj-...@googlegroups.com.
> To unsubscribe from this group, send email to
>
clj-jgit+u...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/clj-jgit?hl=en.
--
Best regards,
Dima Sabanin
http://twitter.com/railsmonk