← Back to context

Comment by embedding-shape

6 hours ago

Yes, that absolutely helps (and yes, doing that :) ), I'm going even further and basically hard-enforcing a LOC limit per file too, which helps a lot as well.

The complexities LLMs end up putting themselves in is more about the bigger architecture/design of the program, rather than concrete lines, where things end up so tangled that every change requires 10s of changes across the repository, you know, typical "avoid the hairball" stuff you come across in larger applications...

> basically hard-enforcing a LOC limit per file too, which helps a lot as well

this. create pre-commit hooks that enforce project conventions, code quality checks, and regression testing. it saves you so much headache