This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # beginners (18)
- # boot (1)
- # cider (12)
- # clojure (18)
- # clojure-russia (5)
- # clojure-uk (8)
- # clojurescript (17)
- # cursive (7)
- # datomic (10)
- # editors (1)
- # figwheel-main (14)
- # hoplon (2)
- # hyperfiddle (1)
- # keechma (2)
- # leiningen (25)
- # off-topic (5)
- # onyx (3)
- # reagent (53)
- # reitit (6)
- # shadow-cljs (14)
- # spacemacs (3)
- # tools-deps (14)
- # uncomplicate (12)
is there a way to make Cursive reindex dependencies (preferably automatically) when new deps are added to a project.clj file, and
lein deps (or some other command which causes the deps to be downloaded) is run?
it seems "File -> Invalidate Caches / Restart" does the trick, but that's kind of annoying when adding new libraries
@risinglight Colin Fleming isn't in this channel but he's very responsive in #cursive if you have questions like that...
i was told not to use one letter variable (parameter?) names before but it seems like it might be ok to do so in clojure as long as you do so idiomatically? like 's' for strings and such. where would i find those? is there an official style guide for that kind of thing?
honestly that's a rule best learned by reading and writing lots of code. learn where it gets confusing to the consumer
a good rule of thumb i've heard is the more general the function the shorter the variable name
@chase-lambert https://github.com/bbatsov/clojure-style-guide#naming <-- this will be a good read for you I think.
Hi, I've been playing with Luminus and would like to add reagent-forms to my project. I added
[reagent-forms "0.5.42"] to the project.clj, however when I try to add
[ to the :require section in either core.cljs or core.clj I the error
... I must be missing something simple. I did restart the nrepl / figwheel and the http server
java.io.FileNotFoundException: Could not locate reagent_forms/core/com__init.class or reagent_forms/core/com.clj on classpath
Lein did download reagent-forms when I had first restarted it after adding the line to project.clj
yes. the interop syntax is the same as well. for the most part the languages are the same just with different native libraries
this is the idea behind
.cljc files which can target any platform and have reader conditionals for the parts that need to specialize
very cool. so is clojure(script) still gaining in popularity or is it kind of in a plateau? even if it's "plateau'ed" the user base is large enough that it seems like a robust, active community right? it's not going anywhere? i know i have rose colored beginner glasses on because i'm so new but it just seems like this could be such a good language to grow with.