| ▲ | embedding-shape 2 hours ago | |
> then that would argue for having "modules" between 5,000 and 50,000 loc, depending on which AI model you are using. FWIW, I set hard limits to 200 LOC for every single source code file in any AI-related projects, also with restrictions on "formatting hacks" and other golf-like stuff. I think beyond 5000 LOC in a single file and all available models already get lost frequently, even if the "context limit" theoretically is way above that. Maybe aim for like 1K LOC at max unless you want to have lots of misunderstandings. | ||