News for hackers. Stuff that matters.
Re:Show HN: C++ library for reading MacBook lid angle sensor... by ofrzeta on Monday September 08, 2025 @04:40AM (#45165961)
Yeah, it's typical for LLMs. A comment anti-pattern. I wonder if LLM explainability can deliver and answer on "why" they are doing it.
Re:Show HN: C++ library for reading MacBook lid angle sensor... by mort96 on Monday September 08, 2025 @07:34AM (#45167037)
I wouldn't be surprised if it improves the language model's ability to write code. By inserting useless comments like that, its context will contain a very recent "prompt" of what it's trying to do when it actually writes the code.
Re:Show HN: C++ library for reading MacBook lid angle sensor... by numpad0 on Monday September 08, 2025 @04:54AM (#45166044)
This one is hallmark of Arduino sample code, which consists a majority of materials found on the internet regarding sensors and code.

I think the original human intent is to inflate mental share on hardware and/or time domain issues as those are just routine occurences in Arduino projects.