97 points · by Glench · 8y ago · 26 comments
Edit: Found the github link in the video description: https://github.com/Glench/REPLugger
Well, a difference. There are others.
People have come closer than I give credit in Java land doing this. I've never seen anyone else come close, though.
I think most any dynamic language should be able to do this. Most can't, though, due to serious limitations on what can be redefined and what cannot.
Links:
Debugging with the Scientific Method - Stuart Halloway (https://www.youtube.com/watch?v=FihU5JxmnBg)
REPL DEBUGGING: NO STACKTRACE REQUIRED (http://blog.cognitect.com/blog/2017/6/5/repl-debugging-no-st...)
scope-capture (https://github.com/vvvvalvalval/scope-capture)
These tools are made for beginners, but even though I'm not a beginner, I wish I could use these kinds of tools within my existing coding workflow. But I just can't use an editor/debugger that requires a mouse anymore.
It's what got me hooked on repls back when I was coding in VB4.
https://docs.microsoft.com/en-us/visualstudio/ide/reference/...
That said, I prefer Python and only used JavaScript in the video because I had a large project done in JS that I wanted to validate the idea against to make sure it wouldn't just work for toy programs.
The only minor nitpick I have is the layout of the interface. I would think having the output below the editor would reduce eye movement necessary.