Re: Best practices for java libraries

2012-12-10 Thread xavriley
You might like to checkout some of the videos from ClojureX recently. One was called 'playing nice with Java' and the other was a 10 min lightning talk by Rich Hickey on how they use Java in the Datomic project. I've only just joined the list so I don't want to get swept up in spam filters on

Re: Best practices for java libraries

2012-12-10 Thread Grant Rettke
Sounds like a good candidate for the Clojure documentation project. On Mon, Dec 10, 2012 at 5:33 PM, Mikera wrote: > Some thoughts from various Java libraries I have wrapped: > > - Normal functions are generally best for wrapping > - It can often make sense to have a protocol that dispatched on t

Re: Best practices for java libraries

2012-12-10 Thread Mikera
Some thoughts from various Java libraries I have wrapped: - Normal functions are generally best for wrapping - It can often make sense to have a protocol that dispatched on the type of the Java object and/or clojure params for polymorphism and extension. Your public functions should often call t