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.

Ask HN: What's the best way to code a complicated project from scratch using AI?

1 pointsby l2silver4 months ago
Using chatgpt (paid) and Claude (free):<p>When I try to code a somewhat complex project (backend with login capabilities, jwt, refreshtoken, and e2e tests) and I put all the requirements in the initial prompt, the output is usually condensed and incomplete, like it has a maximum output length that it can&#x27;t exceed.<p>When I give it small prompts, I get more verbose and complete answers, but the prompts seem to forget the previous prompts, and throw out logic that was written previously.<p>What&#x27;s the best way to feed instructions to these AI systems for relatively complex projects?

2 comments

talldayo4 months ago
Context ain&#x27;t free. The larger your project becomes, the more money you will spend trying to infer code from it. It&#x27;s possible that the cost of writing complex code with AI exponentially correlates to the complexity of the working codebase.
评论 #42831898 未加载
ericalexander04 months ago
The key is modularity with good interface design, then you have AI generate each component and play more of a QA role to validate each component is functional.
评论 #42832836 未加载