News for hackers. Stuff that matters.
Re:Ask HN: Are compiler errors for unused code necessary? by dabinat on Tuesday February 17, 2026 @05:55PM (#47054610)
It can be useful at letting you know of things that might be bugs. Like maybe you intended to use x in a calculation but forgot. Or maybe you intended to call func2() but actually called func1() instead. I feel like it should be a warning more than a hard error though.

There are no comments on this comment yet.