On Sun, Jul 5, 2009 at 8:14 PM, Stephen C. Gilardi<squee...@mac.com> wrote: > > On Jul 5, 2009, at 8:12 PM, Mark Volkmann wrote: > > I'd appreciate it if someone > could look it over and let me know if I've done anything that isn't > very idiomatic. > > A few recommendations just at the "look and feel" level: > - use doc strings for functions in place of comments
Thanks! I temporarily forget about those. > - global delete of "-ref". Those suffixes make the code look noisy without > adding enough value to warrant that. I agree it makes the code look noisy, but I like that it helps me remember that a value is a ref. I'll remove them though because I know I'm in the minority on that viewpoint. > - refs don't need to be dereferenced explicitly when in calling position. > Whenever possible, elide @: (@foo ...) -> (foo ...), again for visual noise > reduction. Wow! I don't know how I missed out on that rule. I don't recall every hearing about that feature. Very cool! Is this discussed in the "Programming Clojure" book? -- R. Mark Volkmann Object Computing, Inc. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---