logoalt Hacker News

Tyr42yesterday at 9:49 PM1 replyview on HN

Heck, doing a self review when you wrote the code catches stuff like forgetting debug prints.


Replies

nothrabannosiryesterday at 10:49 PM

(tangent of the decade : prefixing your debug printfs with NOCOMMIT helps catching them before commit :) sample precommit hook and GitHub ci action I wrote is at https://github.com/nobssoftware/nocommit but it’s just a grep)