Remix.run Logo
grey-area 7 hours ago

clean code and refactoring are no longer expensive

Are you contending that LLMs produce clean code?

WalterSear 7 hours ago | parent [-]

They do, for many people. Perhaps you need to change your approach.

dmurray 6 hours ago | parent [-]

If you can produce a clean design, the LLM can write the code.

WalterSear 5 hours ago | parent | next [-]

I think maybe there's another step too - breaking the design up into small enough peices that the LLM can follow it, and you can understand the output.

TexanFeller 2 hours ago | parent [-]

So do all the hard work yourself and let the AI do some of the typing, that you’ll have to spend extra time reviewing closely in case its RNG factor made it change an important detail. And with all the extra up front design, planning, instructions, and context you need to provide to the LLM I’m not sure I’m saving on typing. A lot of people recommend going meta and having LLMs generate a good prompt and sequence of steps to follow, but I’ve only seen that kinda sorta work for the most trivial tasks.

fragmede 6 hours ago | parent | prev [-]

Unless you're doing something fabulously unique (at which point I'm jealous you get to work on such a thing), they're pretty good at cribbing the design of things if it's something that's been well documented online (canonically, a CRUD SaaS app, with minor UI modification to support your chosen niche).

WalterSear 5 hours ago | parent [-]

And if you are doing something fabulously unique, the LLM can still write all the code around it, likely help with many of the components, give you at least a first pass at tests, and enable rapid, meaningful refactors after each feature PR.