It looks like the mutable locals use case is covered by the "with-
local-vars" binding form.  That said, I'm not sure how useful this
would be.  Even in Java 5, 95% of my local vars are immutable, i.e
annotated as final and never have any mutating methods called on
them.  Most of the rest are simple accumulators:  StringBuffers,
collections which are filled then used then tossed, or summations.  In
Clojure these would be replaced by some sort of reduction, requiring
no .  The only time I could see myself using with-local-vars is in
some complex graph-theoretic code, of the sort I write maybe once a .

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