Fork me on GitHub
#code-reviews
<
2015-07-19
>
paulspencerwilliams11:07:49

Hi, what’s the prefered way of posting code to this review channel? Inline, files, or gists?

meow12:07:13

@paulspencerwilliams: If the number of lines is reasonable you can post inline. Otherwise a gist or refheap work.

meow12:07:48

You can use triple single quotes around your code to format it.

paulspencerwilliams14:07:09

@meow: cheers; there’s two files so I’ll go gist simple_smile

paulspencerwilliams14:07:35

So I’d appreciate any advise in refactoring my drinks.csv to sql conversion utility to more idiomatic Clojure. My current implementation translates from a list of ‘paths’ from the drinks.csv file, through a hierarchical tree so that I can traverse it inserting parent records first. It’s really just for learning so I’m not interested in extracting file paths etc. Just how to improve the core code. https://gist.github.com/c09ab21f292d14e144c9.git