As I experiment with this more, I could see non-dynamic Var objects also 
being useful once IWatchable is implemented on them.

Basically, I'd love to send a defn form to the browser during development 
and have my UI data-bound to both the data AND *the function that rendered 
it* :-) My dream is to be able to have a list of foo-widgets deep in the 
page and have them all update instantly to the latest code... without 
losing my scroll position!

Anyway, with this in mind, I'd like to also bring into consideration the 
possibility of both static and dynamic Var objects. With my current design, 
this has performance implications (an extra indirection for all lookups and 
function calls). As well as interop implications (def-ed values need to be 
deref-ed explicitly by non-cljs callers).

One idea would be to provide alternate metadata, like ^:export. Not sure 
what the right name or default for that metadata would be.

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