On Monday, March 18, 2013 12:35:31 PM UTC+1, vemv wrote: > Nobody wants to store every regexp in a separate file. >> > > That's because regexes are 'atomic' - you don't place Clojure expressions > in the middle of them. SQL or math are vastly different from that. As for > SQL, it *is* common practice to store them as isolatedly as possible. >
Dynamic regex building is a standard technique. Unfortunately, once you leave the regex literal world, you are back to escaping everything. I also have tons of SQL (HQL, actually but same thing) inline with my Clojure. It is an approach that never backfired on me. I also have much need for dynamic SQL generation. I don't consider myself special because of that. -marko -- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.