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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

For cleaner code, write ugly code

3 点作者 wheresvic1将近 6 年前

1 comment

1e-9将近 6 年前
Author&#x27;s premise: Intentionally writing extremely bad prototyping code motivates one to later clean it up and thus produce better code.<p>I strongly advise anyone considering this to first try rapidly prototyping code that is as good as you can do quickly. Over time, the quality of your prototyping code should improve and require less cleaning to achieve a high quality result. You should not have to intentionally create reasons to clean up code. The reasons will appear naturally enough.