Re: How to create a library for java developers

2011-05-31 Thread Ken Wesson
Don't forget gen-interface. In fact, you may want to have just one gen-class with a static factory method, which produces an anonymous implementation of one of the interfaces, which is an abstract factory for making other objects that implement other interfaces. This provides the least coupling bet

Re: How to create a library for java developers

2011-05-31 Thread finbeu
Hi Ambrose, actually, I want to write this facade to learn how the java interop works. I'm still a beginner but calling java from clojure already works pretty good and I'm able to get things done faster with less code. The next step is then to make this clojure facade available for the java develo

Re: How to create a library for java developers

2011-05-31 Thread Ambrose Bonnaire-Sergeant
Hi Finn, On Tue, May 31, 2011 at 4:19 PM, finbeu wrote: > I would like to build a facade in clojure and > provide a jar file so that this clojure facade can be easily used by > java developers that do not know anything at all about clojure > (they're scared to death when I show them clojure code

How to create a library for java developers

2011-05-31 Thread finbeu
I'm using some legacy inhouse java libraries that are pretty complicated (lots of boilerplate and ugly code bloat to produce something useful). I would like to build a facade in clojure and provide a jar file so that this clojure facade can be easily used by java developers that do not know anythin