This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-10-10
Channels
- # aleph (4)
- # beginners (32)
- # cider (12)
- # cljs-dev (56)
- # cljsrn (7)
- # clojars (3)
- # clojure (165)
- # clojure-dev (33)
- # clojure-germany (1)
- # clojure-italy (27)
- # clojure-russia (7)
- # clojure-spec (24)
- # clojure-uk (62)
- # clojurescript (37)
- # core-async (7)
- # core-matrix (1)
- # cursive (9)
- # data-science (8)
- # datomic (8)
- # duct (4)
- # events (1)
- # figwheel (7)
- # flambo (3)
- # fulcro (43)
- # hoplon (25)
- # jobs-discuss (8)
- # lein-figwheel (4)
- # luminus (2)
- # off-topic (35)
- # om (8)
- # om-next (3)
- # onyx (30)
- # pedestal (62)
- # portkey (2)
- # protorepl (2)
- # re-frame (40)
- # reagent (9)
- # shadow-cljs (123)
- # specter (30)
- # sql (22)
- # testing (1)
- # uncomplicate (40)
- # unrepl (3)
- # vim (13)
- # yada (5)
@cfleming did you see https://vimeo.com/237220354 ? What do you think about doing something similar but on the IDE level? Where separate shortcut would wrap form in let with the most recent locals, and execute it Wrapping subforms with custom macro prior to execution, and later define bunch of top level vars seems like a no-go, but the idea is actually cool, if integrated seamlessly
@cfleming author here, available to discuss this whenever you want 🙂 (Paris timezone)
@misha . You should also check scope-capture nREPL https://github.com/vvvvalvalval/scope-capture-nrepl
> and later define bunch of top level vars seems like a no-go @misha I suggest you give it a try anyway 🙂 in practice, I've found the only danger is when your local names shadow global names, which is bad practice anyway. I'll add an argument from authority: this is exactly what Stuart Halloway does (by hand) in his blog post: http://blog.cognitect.com/blog/2017/6/5/repl-debugging-no-stacktrace-required
he does it by hand, not "tool assisted", I'd like to scale it, and integrate it seamlessly into IDE, where neither manual clean up nor any typing (manually wrapping form you want to debug in a "spy") is reqiured
@misha agreed, this last part would require IDE integration.
@misha I haven’t looked at it in detail, but I’m away at the moment, back at work tomorrow - I’m planning to look at it then.
There was some discussion about it on Reddit: https://www.reddit.com/r/Clojure/comments/750e61/releasing_scopecapture_a_library_for_easing/do2ob78/