Re:Inspector – A drop-anywhere C++ REPL
by kyberias on Monday February 12, 2018 @11:43PM
(#16364827)
Do people create stuff like this because they don't have access to good interactive debuggers? Visual Studio user here.
[ Parent
| on HN ]
This is an interesting question, but the phrasing sounds a little funny to me. Don't REPLs predate symbolic debuggers? As someone coming from the Lisp world, I've occasionally wondered about the converse: did people create interactive debuggers because their language didn't have a good REPL?
I've used Visual Studio before, and it's an impressive technical achievement, but for personal productivity, I'll take a good REPL any day -- as long as the language supports it.
That said, good REPLs contain a debugger, and good symbolic debuggers contain a REPL, so they're not entirely exclusive.
I tried visual studio once.
It does not allow me to include all kinds of code in the edit-and-compile feature.
Also the code I enter in a REPL, I usually don't want to see in my projects.
Finally I miss the intermediate feedback of printing the values, when I have entered an expression.