This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-02-12
Channels
- # bangalore-clj (1)
- # beginners (27)
- # boot (29)
- # clara (4)
- # cljs-dev (10)
- # cljsrn (2)
- # clojure (36)
- # clojure-austin (9)
- # clojure-brasil (4)
- # clojure-france (10)
- # clojure-nl (2)
- # clojure-quebec (1)
- # clojure-russia (10)
- # clojure-spec (48)
- # clojure-uk (6)
- # clojurescript (82)
- # clr (4)
- # core-async (5)
- # core-logic (3)
- # cursive (4)
- # datomic (1)
- # devcards (1)
- # figwheel (1)
- # leiningen (2)
- # lumo (6)
- # off-topic (23)
- # om (39)
- # onyx (3)
- # planck (2)
- # re-frame (5)
- # reagent (24)
- # specter (1)
- # test-check (3)
Hmm. How can (deftest test (is (= false (nil? (do (def sym 0) (resolve 'sym)))))) pass in the repl but don't in a file ?
I found this question : http://stackoverflow.com/questions/32585615/inconsistency-between-repl-and-test-runner but it doesn't help me at all
what’s the idiomatic way to get the length of a keyword? (count (name :my-keyword))
is what I’m using now
What's the correct way to debug and check all the steps for a recursive function that traverses a tree? I'm trying with cider debug functions right now
It works, but it's a little hard to keep track of everything as it's not working only for more complex cases
the good thing about trees is that (usually) if it works one level deep it'll work for arbitrarily many levels deep
im coming from an object oriented language and i am having a hard time adjusting to clojure's paradigm
@jgreen I used javascript before coming to clojure, and what helped me a lot was my master's thesis where I compared javascript code with and without rxjs
maybe that could be useful to you too? Implement something in java or js, then implement it again with rxjava or rxjs?
mrjoegreen give this a shot, it has a very good reputation in the clojure community: http://www.braveclojure.com/functional-programming/
also, if you’re interested in functional programming in general and not just clojure, I think this is really good: https://fsharpforfunandprofit.com/posts/thinking-functionally-intro/