Yes, that's a very good point. For example "with" in Common Lisp is used also when dealing with external resources (with-open-file, etc.). And also the point about other with- usages.
On Mar 7, 10:31 am, Dan <redalas...@gmail.com> wrote: > On Fri, Mar 6, 2009 at 7:51 PM, rzeze...@gmail.com <rzeze...@gmail.com> wrote: > > > I think good arguments have been made for "doto," but I must say I > > prefer "with" slightly more. > > with can mean different things in different languages. In javascript, > it means the same thing as doto in clojure but in Python (and many > others I'm told) it means that the resource I used in the with block > should be automatically cleaned (the file should be closed, the > connexion should be freed, etc.) at the end of the block. > > doto is not ambiguous > > Beside, clojure itself uses the word with in many of its functions/macros. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---