Re: Do you recommend the book: "Web Development with Clojure"

2014-02-21 Thread Stefan Kanev
great book for that, in my opinion), then it is a perfect follow-up if you're interested in web apps (IMHO). -- Stefan Kanev ¦ @skanev ¦ http://skanev.com/ You can measure a programmer's perspective by noting his attitude on the continuing vitality of FORTRAN. -- You received

Re: Good learning resources for Clojure novice but with a long background i programming, both OO and some Fp?

2014-01-10 Thread Stefan Kanev
I also like "The Joy of Clojure". The first edition covered an oldered version and I have no idea about the second. -- Stefan Kanev Ś @skanev Ś http://skanev.com/ Often it is the means that justify the ends: Goals advance technique and technique survives even when goal structures crumb

Re: How can I improve this?

2014-01-10 Thread Stefan Kanev
(rest remaining))) result))) It is a bit Scheme-ish. It builds a map of number of occurences as it builds a vector, containing the result. It uses the map to figure out whether to add a suffix or not. It preserves the original order of the names. The variable names could use s

Re: How can I improve this?

2014-01-10 Thread Stefan Kanev
ered word) modified (if occurences (str word "_" occurences) word)] (recur (update-in encountered [word] (fnil inc 0)) (conj result modified) remaining)) result))) -- Stefa

Re: How can I improve this?

2014-01-10 Thread Stefan Kanev
rable. An adequate format function can be given by defining a single-parameter version of `uniquify`. -- Stefan Kanev ¦ @skanev ¦ http://skanev.com/ Think of all the psychic energy expended in seeking a fundamental distinction between "algorithm" and "program". -- -- You

Re: How to handle configuration in Clojure?

2014-01-13 Thread Stefan Kanev
they are thread-safe, at least to some extend. I assume you mean something specific? -- Stefan Kanev ¦ @skanev ¦ http://skanev.com/ If a program manipulates a large amount of data, it does so in a small number of ways. -- -- You received this message because you are subscribed to t

Re: How to handle configuration in Clojure?

2014-01-14 Thread Stefan Kanev
explains in this blog > post<http://stuartsierra.com/2013/03/29/perils-of-dynamic-scope> Fair enough. Thanks for the elaboration. -- Stefan Kanev ¦ @skanev ¦ http://skanev.com/ Bringing computers into the home won't change either one, but may revitalize the corner saloon. -- -- You re

Re: clojure key destructuring motivation

2014-01-18 Thread Stefan Kanev
is the reason for the design – :keys seem useful more often than naming individual keys. Of course, I'm just guessing. -- Stefan Kanev ¦ @skanev ¦ http://skanev.com/ Beware of the Turing tar-pit in which everything is possible but nothing of interest is easy. -- -- You received th