3 ms·
The post you replied to mentioned an interpreter. Does Go provide an interactive REPL?
by haihaibye 4y ago
The post you replied to mentioned an interpreter. Does Go provide an interactive REPL?
- radicalbyte 4y agoYou don't really need a REPL with an IDE, you have excellent auto-complete which shows you the API (which is what I use the Python REPL for) and are unless you're writing pure framework code (or mapping etc - in which case integration testing gives more bang for the buck) then you're probably writing unit tests. I use a continuous test runner for those as the feedback is amazing.
- haihaibye 4y agoAPI autocomplete and unit tests are not a replacement for a debugger, it's a separate use case. Being able to evaluate code while in the middle of a breakpoint is extremely useful. You don't need to say it doesn't matter. Your language has features Python doesn't have, there can be tradeoffs
- bloblaw 4y agoNot natively, but there is a community developed one called gore: https://github.com/x-motemen/gore https://github.com/x-motemen/gore