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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Good Programming, Bad Programming

4 点作者 rahul_rstudio超过 12 年前

1 comment

fruchtose超过 12 年前
In the bad programming I've seen, you are spot on. There's one area where I disagree:<p>"Good programming is self-explanatory. Bad Programming requires explanation."<p>I disagree with the first part. Good programming <i>may</i> require explanation. Bad programming <i>always</i> requires explanation. Code is not always easy to read, especially in the implementation of complex algorithms. The presence of confusion when reading code does not always indicate that the code being read is bad. However, confusion is a natural consequence of reading bad code[1].<p>I would amend your statement to read,<p>"Good programming sometimes require explanation. Bad programming always requires explanation."<p>[1] <a href="http://www.osnews.com/story/19266/WTFs_m" rel="nofollow">http://www.osnews.com/story/19266/WTFs_m</a>