This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-11-27
Channels
- # beginners (91)
- # cider (1)
- # cljsjs (29)
- # cljsrn (8)
- # clojure (51)
- # clojure-berlin (1)
- # clojure-india (1)
- # clojure-russia (26)
- # clojure-spec (15)
- # clojure-uk (1)
- # clojurebridge (1)
- # clojurescript (240)
- # code-reviews (1)
- # cursive (22)
- # datomic (3)
- # editors (6)
- # emacs (24)
- # figwheel (3)
- # lein-figwheel (57)
- # off-topic (4)
- # om (3)
- # proto-repl (7)
- # protorepl (8)
- # reagent (2)
- # rum (23)
- # slack-help (1)
- # spacemacs (2)
Hi guys, may i ask for little code review? I wrote solution for one of the recent /r/dailyprogrammer tasks and it works like it should. But I just don’t like style of one function, I feel that it its not idiomatic and may be written in better way.
Here is the code (https://github.com/a-urth/daily-programmer/blob/master/20161124_intermediate/defuse.clj)
And my concern is about defusable?
function which is recursive algorithm with backtracking for finding if given input can be solved according to rules.
So I don’t like that there are so much nesting and three if
s in a row and I feel like there should be way to write it better.