News for hackers. Stuff that matters.
Re:Show HN: C++ library for reading MacBook lid angle sensor... by bapak on Monday September 08, 2025 @05:01AM (#45166083)
I need to create an AI agent that comments on any PR when it finds useless comments
Re:Show HN: C++ library for reading MacBook lid angle sensor... by Aurelius108 on Monday September 08, 2025 @05:16AM (#45166173)
Oddly enough I find senior engineers at my company demand ridiculous comments like this oddly enough. I've found that a 1:3 comment:code ratio (basically a comment every 2-3 lines with a new line separating each block) is the only thing that will prevent some annoying code review comments asking for clarifications.
Re:Show HN: C++ library for reading MacBook lid angle sensor... by tobyhinloopen on Monday September 08, 2025 @05:39AM (#45166302)
Give them a copy of Robert C Martin’s Clean Code hah