Hacker News new | ask | show | jobs
by danbmil99 4429 days ago
> If you're lucky, they'll use a debugger if it doesn't work. If you're unlucky, they start putting in print statements.

I think you got that backwards. printf debugging is a very useful but dying skill. If you have a usable debugger and you're working on one atomic single-threaded module, great -- but if you are doing low-level, asynchronous stuff, often on disparate platforms, the ability to write a log file and debug things that way is a precious resource.

1 comments

I completely agree: I do a lot of printf debugging in exactly the cases you describe. As with everything though it's a tool, and not necessarily the first one to go to.