This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-11-29
Channels
- # beginners (41)
- # cider (2)
- # cljs-dev (5)
- # cljsrn (16)
- # clojure (157)
- # clojure-russia (29)
- # clojure-uk (1)
- # clojurescript (164)
- # code-reviews (7)
- # cursive (3)
- # datavis (7)
- # datomic (1)
- # emacs (16)
- # hoplon (2)
- # ldnclj (1)
- # off-topic (4)
- # om (167)
- # other-lisps (10)
- # overtone (8)
- # parinfer (1)
- # re-frame (19)
- # testing (2)
Wrote my first bit of code in Clojure—a 50 LOC scraper—would love feedback on it x-posted in #C053AK3F9 Code: https://gist.github.com/revivek/d6559b3fd5b9f661e095 Output (pprinted): https://gist.github.com/revivek/2f61bb8a1fe3311377ea
@revivek: consider map literals instead of hash-map
@revivek: also check partition
vs partition-all
@revivek: (:require …)
can contain multiple namespace requires
@revivek: use of dynamic vars seems unnecessary
(sorry for being so brief, typing w/ one hand )
@martinklepsch: super helpful—thank you!