| ▲ | mvkel 3 hours ago |
| > the workflow I’ve settled into is radically different from what most people do with AI coding tools This looks exactly like what anthropic recommends as the best practice for using Claude Code. Textbook. It also exposes a major downside of this approach: if you don't plan perfectly, you'll have to start over from scratch if anything goes wrong. I've found a much better approach in doing a design -> plan -> execute in batches, where the plan is no more than 1,500 lines, used as a proxy for complexity. My 30,000 LOC app has about 100,000 lines of plan behind it. Can't build something that big as a one-shot. |
|
| ▲ | onion2k 2 hours ago | parent | next [-] |
| if you don't plan perfectly, you'll have to start over from scratch if anything goes wrong This is my experience too, but it's pushed me to make much smaller plans and to commit things to a feature branch far more atomically so I can revert a step to the previous commit, or bin the entire feature by going back to main. I do this far more now than I ever did when I was writing the code by hand. This is how developers should work regardless of how the code is being developed. I think this is a small but very real way AI has actually made me a better developer (unless I stop doing it when I don't use AI... not tried that yet.) |
| |
| ▲ | sixtyj an hour ago | parent | next [-] | | LLMs are really eager to start coding (as interns are eager to start working), so the sentence “don’t implement yet” has to be used very often at the beginning of any project. | |
| ▲ | mattmanser an hour ago | parent | prev [-] | | Developers should work by wasting lots of time making the wrong thing? I bet if they did a work and motion study on this approach they'd find the classic: "Thinks they're more productive, AI has actually made them less productive" But lots of lovely dopamine from this false progress that gets thrown away! |
|
|
| ▲ | zozbot234 25 minutes ago | parent | prev | next [-] |
| > if you don't plan perfectly, you'll have to start over from scratch if anything goes wrong. You just revert what the AI agent changed and revise/iterate on the previous step - no need to start over. This can of course involve restricting the work to a smaller change so that the agent isn't overwhelmed by complexity. |
|
| ▲ | chickensong an hour ago | parent | prev | next [-] |
| > design -> plan -> execute in batches This is the way for me as well. Have a high-level master design and plan, but break it apart into phases that are manageable. One-shotting anything beyond a todo list and expecting decent quality is still a pipe dream. |
|
| ▲ | AstroBen 2 hours ago | parent | prev | next [-] |
| 100,000 lines is approx. one million words. The average person reads at 250wpm. The entire thing would take 66 hours just to read, assuming you were approaching it like a fiction book, not thinking anything over |
|
| ▲ | dakolli 2 hours ago | parent | prev | next [-] |
| wtf, why would you write 100k lines of plan to produce 30k loc.. JUST WRITE THE CODE!!! |
| |
| ▲ | Bishonen88 2 hours ago | parent [-] | | They didn't write 100k plan lines. The llm did (99.9% of it at least or more). Writing 30k by hand would take weeks if not months. Llms do it in an afternoon. | | |
| ▲ | AstroBen 2 hours ago | parent | next [-] | | Just reading that plan would take weeks or months | | |
| ▲ | chickensong an hour ago | parent [-] | | You don't start with 100k lines, you work in batches that are digestible. You read it once, then move on. The lines add up pretty quickly considering how fast Claude works. If you think about the difference in how many characters it takes to describe what code is doing in English, it's pretty reasonable. |
| |
| ▲ | 2 hours ago | parent | prev | next [-] | | [deleted] | |
| ▲ | dakolli an hour ago | parent | prev [-] | | And my weeks or months of work beats an LLMs 10/10 times. There are no shortcuts in life. | | |
| ▲ | tock an hour ago | parent [-] | | Might be true for you. But there are plenty of top tier engineers who love LLMs. So it works for some. Not for others. And of course there are shortcuts in life. Any form of progress whether its cars, medicine, computers or the internet are all shortcuts in life. It makes life easier for a lot of people. |
|
|
|
|
| ▲ | Bishonen88 3 hours ago | parent | prev [-] |
| Dunno. My 80k+ LOC personal life planner, with a native android app, eink display view still one shots most features/bugs I encounter. I just open a new instance let it know what I want and 5min later it's done. |
| |
| ▲ | therealdrag0 2 hours ago | parent | next [-] | | In 5 min you are one shotting smaller changes to the larger code base right? Not the entire 80k likes which was the other comments point afaict. | | |
| ▲ | Bishonen88 2 hours ago | parent [-] | | Yeah, then I guess I misunderstood the post. Its smaller features one by one ofc. |
| |
| ▲ | makeramen 3 hours ago | parent | prev | next [-] | | Both can be true. I have personally experienced both. Some problems AI surprised me immensely with fast, elegant efficient solutions and problem solving. I've also experienced AI doing totally absurd things that ended up taking multiple times longer than if I did it manually. Sometimes in the same project. | |
| ▲ | vasco 2 hours ago | parent | prev [-] | | What is a personal life planner? | | |
| ▲ | Bishonen88 2 hours ago | parent [-] | | Todos, habits, goals, calendar, meals, notes, bookmarks, shopping lists, finances. More or less that with Google cal integration, garmin Integration (Auto updates workout habits, weight goals) family sharing/gamification, daily/weekly reviews, ai summaries and more. All built by just prompting Claude for feature after feature, with me writing 0 lines. | | |
| ▲ | vasco an hour ago | parent | next [-] | | Ah, I imagined actual life planning as in asking AI what to do, I was morbidly curious. Prompting basic notes apps is not as exciting but I can see how people who care about that also care about it being exactly a certain way, so I think get your excitement. | |
| ▲ | puchatek 2 hours ago | parent | prev [-] | | Is it on GH? | | |
| ▲ | Bishonen88 2 hours ago | parent [-] | | It was when I mvp'd it 3 weeks ago. Then I removed it as I was toying with the idea of somehow monetizing it. Then I added a few features which would make monetization impossible (e.g. How the app obtains etf/stock prices live and some other things). I reckon I could remove those and put in gh during the week if I don't forget. The quality of the Web app is SaaS grade IMO. Keyboard shortcuts, cmd+k, natural language parsing, great ui that doesn't look like made by ai in 5min. Might post here the link. |
|
|
|
|