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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Minimal Advice to Undergrads on Programming

6 点作者 antiform超过 16 年前

1 comment

jackowayed超过 16 年前
Does anyone comment to that degree?<p>My general policy is to follow the "Use meaningful names" policy and use that as the commenting. The meaningful names of the function give you an idea of what they do and what side effects they have. The meaningful names of the parameters tell you what they do.<p>Maybe it's not a perfect system, but I think it's a happy medium between eating up a lot of time commenting and having totally unreadable code
评论 #411250 未加载
评论 #411327 未加载
评论 #411576 未加载
评论 #411522 未加载
评论 #411355 未加载
评论 #411934 未加载