Commonly, I break down complex lines of code into several easy to follow simple lines of code. This results in many temp variables that are not intended to be used anywhere else in the code. Sometimes I see a method reusing common primitives and objects (like ints and Strings), so to prevent verbosity (meaning many unnecessary variable definitions), I define variables named something like 'tmpString' or 'tmpInt' with a local scope and reuse them locally.
This is all to prevent verbose hard to read code. I can read through the simplified code ignoring variables with the visual tag of 'tmp'. I also benefit from the simpler code that does not "chain" several commands in one line. What is the best practice in Clojure? How do I properly break down chained commands? Am I completely missing the zen of FP? ;-) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---