On Tue, Oct 21, 2008 at 8:41 AM, mb <[EMAIL PROTECTED]> wrote: > > (doto-> (new JFrame "Hello, World!") > (.setDefaultCloseOperation JFrame/EXIT_ON_CLOSE) > (miglayout SomeChild :AConstraint MoreChildren ...)) > > Any thoughts?
Beautiful. I've found in practice that using doto seems okay at first, but I commonly have to insert a function call eventually, and end up having to change a lot of existing code to get rid of the doto's. This has been painful enough that I've pretty much stopped using doto in code that's not just one-off stuff in a repl. --Chouser --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---