This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-09-18
Channels
- # announcements (26)
- # beginners (107)
- # calva (26)
- # cider (55)
- # clj-kondo (7)
- # clojure (115)
- # clojure-europe (6)
- # clojure-houston (3)
- # clojure-italy (4)
- # clojure-nl (16)
- # clojure-norway (1)
- # clojure-uk (42)
- # clojuredesign-podcast (3)
- # clojurescript (47)
- # clojutre (4)
- # cursive (7)
- # datomic (75)
- # fulcro (1)
- # graalvm (3)
- # graphql (16)
- # jobs (1)
- # jobs-discuss (13)
- # keechma (1)
- # leiningen (19)
- # luminus (5)
- # off-topic (33)
- # pathom (16)
- # re-frame (76)
- # reitit (4)
- # ring (5)
- # shadow-cljs (86)
- # spacemacs (52)
- # tools-deps (43)
- # vim (7)
- # yada (1)
This week on ClojureScript Podcast discussion with @seancorfield about REBL - https://soundcloud.com/user-959992602/s2-e3-rebl-with-sean-corfield
The last one with Stuart was great listening about his "Spartan" REPL setup etc...
Yes it was, although I feel he goes too far. Stuff like find usages, go to definition and auto-completion is immensely useful and a great time saver.
every morning I get up and do 100 sit ups a hunderd press ups a hundred squat a ten k run and find usages for 100 vars
clojure is not greppable. try find usages of namespaced keyword :a/b
when it can be ::some-ns/b
, #:a{:b 1}
, {:a/keys [b]}
, {:keys [a/b]}
, {::some-ns/keys [b]}
find usages in rebl can find only runtime usages of functions to vars. can't find usages of values. can't find usages of java.
@U47G49KHQ He talks about why he doesn't want auto-completion on that podcast tho' -- as a "self-check" to keep his APIs small and memorizable and I get that point.
And Clojure code is "more" greppable if you are very consistent about how you use namespaces and aliases (but, yes, destructuring makes that a bit less straightforward).
We have 90K lines of Clojure at work and don't find that particularly challenging (and our in-house "style" has certainly changed over the years, so our code isn't as consistent as it could/should be).
I don't have problems with keeping consistency in my own projects, but using dependencies means there will be multitude of different styles
I think it's a nice self-imposed constraint for a library author, but during day-to-day development I want a bit more help... which I get with cursive 🙂
I use compliment
for day-to-day development -- I'm not quite as austere as Stu, but I like a nice, simple toolset (e.g., a Socket REPL rather than nREPL etc).
@seancorfield do you have editor integration for compliment or do you invoke it directly?
Integrated via Chlorine (for Atom).
Happy to help / answer any Qs!
FWIW, Cursive is smart enough to find usages on all the keyword syntax variants that vlaad listed above. (I agree that plain grep / regex searching is not very useful for this purpose)
great job, would be more idiomatic if all keys used kebab case instead of snake case, i created a PR https://github.com/dawran6/emoji/pull/2