5 ms·
To me the biggest advantage Python has is the debugging capabilities. Especially combined with PyCharm, ad-hoc interpreter to check things while the execution i
by systemvoltage 4y ago
To me the biggest advantage Python has is the debugging capabilities. Especially combined with PyCharm, ad-hoc interpreter to check things while the execution is at a breakpoint – this is just like cheating. It is too good. I am not an expert software developer and haven't developed anything that needs to be fast, but for my needs, Python is really awesome.
That said, I want to learn Go properly.
- bloblaw 4y agoGo 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.
- haihaibye 4y agoThe 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
- hardware2win 4y agoIn c# you can edit code at fly when debugging, jumping between lines, evaluate expr and more like conditional breakpoints
- kaba0 4y agoNot sure about C#, but Java has a similarly good debugging story.