Comments in code are often deemed "mostly useless" these days. They are, suppose...

@jonhoo@fosstodon.org

Comments in code are often deemed "mostly useless" these days. They are, supposedly, mostly obvious, stale, and repeat what the code already says. And so people pay less attention to them both when reading and writing code.

That trend sucks. When used right, comments are genuinely useful and sometimes critically important! So, I wrote about it on the Helsing blog, along with an announcement of a tool to extract "Y-Statement ADRs" from code (see blog post).

❤️ comments ❤️

blog.helsing.ai/posts/on-comme