TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

For cleaner code, write ugly code

3 pointsby wheresvic1almost 6 years ago

1 comment

1e-9almost 6 years ago
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.