Hacker News new | past | comments | ask | show | jobs | submit login

Go debugging is nearly the exact same experience as Python. GoLand (from JetBrains ... same folks that make Pycharm) or VSCode with delve debugger work flawlessly.

I don't think there is any difference between Go and Python when it comes to debugging. Support for both is widespread and high-quality.




The post you replied to mentioned an interpreter. Does Go provide an interactive REPL?


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


API 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


Not natively, but there is a community developed one called gore: https://github.com/x-motemen/gore




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: