2 ms·
Go's compile times are comparable to a decent sized python app's startup time. > Something simple like being able to do `breakpoint()` anywhere and get an inte
by maccard 2y ago
Go's compile times are comparable to a decent sized python app's startup time.
> Something simple like being able to do `breakpoint()` anywhere and get an interactive debugger is unmatched in Go.
As opposed to using a debugger and setting a break and/or tracepoint, which you can do to a running program?
- necovek 2y agoIn a Python debugger, you can trivially augment the state of the program by executing Python code right there while debugging. I don't remember what you can do with Go's debugger, but generally for compiled programs and GDB, you can do a lot, but you can't really execute snippets of new code in-line. The simplicity is in the fact that Python debugger syntax is really mostly Python syntax, so you already know that if you've written the Python program you are debugging.