logoalt Hacker News

vkoutoday at 4:29 AM1 replyview on HN

> 1. Use println

Printf debugging is a usability and productivity disaster compared to an actual debugger.


Replies

speedgoosetoday at 6:56 AM

It depends, it can be useful to easily debug some flows. It’s also sometimes better for interactive applications where pausing the execution would break the interface.

A developer should use both.