Re:Go: 90% perfect, 100% of the time
by DCKing on Tuesday June 03, 2014 @06:51AM
(#7839245)
Forgive me for asking (not usually a programmer of anything that goes directly to machine code), but is single step debugging as relevant for a language such as Go which has far fewer ambiguities and undefined behaviour? Isn't single step debugging used precisely because C/C++ code generation is less predictable than Go's?
[ Parent
| on HN ]
No. It's really useful to be able to just look at what's happening; it lets you do binary search to figure out where your assumptions are wrong, rather than having to verify every individual step. I use Scala which can provide much stronger static guarantees than Go, but a debugger is still very valuable.