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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Why Your Code's UX Matters

5 点作者 helloburin大约 12 年前

2 条评论

ethicalsean大约 12 年前
I always stress about readability, but I've never thought about the end-to-end "experience" of using a class or API I've written before. I think framing it in this way is helpful.<p>Here's a related article that floats the idea of "code usability": <a href="http://www.crossbrowser.net/97/code-usability/" rel="nofollow">http://www.crossbrowser.net/97/code-usability/</a>
danso大约 12 年前
The most profound adage I've learned about programming recently is: "You will spend far more time reading your own code than writing it"...and this always kicks in everytime I decide whether I should properly indent, name variables according to their scope, and add properly formatted comments when needed.<p>With code-completion and relatively fast typing skills, you never regret or remember the extra few seconds it takes to properly type something out...but you'll always feel a slight blood pressure rise everytime you return to poorly written code.