Fork me on GitHub
#cursive
<
2017-10-10
>
misha13:10:35

@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

val_waeselynck08:10:38

@cfleming author here, available to discuss this whenever you want ๐Ÿ™‚ (Paris timezone)

val_waeselynck08:10:42

> 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

misha09:10:20

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

misha09:10:12

no clean up part โ€“ is basically let. no wrapping is harder though

val_waeselynck12:10:23

@misha agreed, this last part would require IDE integration.

cfleming20:10:21

@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.