TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How do you deal with out of sync comments?

1 点作者 Nevin1901大约 3 年前
I&#x27;m working on a codebase and I run into these sometimes. It really is a pain whenever I read them, as my understanding of the code actually goes DOWN while I read out of sync comments.<p>Wondering if you guys ever ran into this problem, and how you get around it. Interested in what you guys think.

2 条评论

PaulHoule大约 3 年前
Update the comments when you see they are out of date.<p>But really, comments have a &quot;don&#x27;t repeat yourself&quot; problem... It&#x27;s not clear that writing comments is always a good thing since they incur a maintenance burden.
gregjor大约 3 年前
The same way I deal with trash on the street. Ignore it or clean it up.