Hi,

On Feb 18, 1:49 am, Raoul Duke <rao...@gmail.com> wrote:

> any pointers to learn up on how to get a nice environment for doing
> swing app development w/out having to kill and restart the whole world
> when i make changes to app logic? (yes i'm googling, but i'm still
> confused/clueless just yet.)

I used VimClojure to run a nailgun server in the application. I
changed a function, send them to the running application via nailgun,
tested the change, edit, send, test, edit, send, test, ... Works very
well. I use the same technique at the moment with a web server.

You can do the same with SLIME on Emacs, I presume.

One gotcha however are higher order functions. Let's say you have
something like:

(defn make-callback [some things] (fn [evt] (do-stuff evt some
things)))

(... (.setCallback aWidget (make-callback thing other-thing)) ...)

Then this approach works not so well, because reloading make-callback
doesn't help. aWidget still has the old function in place. Then you
also have rebuild aWidget.

But in general it's a fast way of development.

Sincerely
Meikel

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