3 ms·
> I've made similar mistakes with tens of projects - having files larger than 500-600 lines of code Is it a mistake though ? Some of the best codebase I worked
by maeln 2y ago
> I've made similar mistakes with tens of projects - having files larger than 500-600 lines of code
Is it a mistake though ? Some of the best codebase I worked on were a few files with up to a few thousands LoC. Some of the worst were the opposite, thousands of files with less than a few hundred LoC in each of them.
With the tool that I use, I often find navigating and reading through a big file much simpler than having to have 20 files open to get the full picture of what I am working on.
At the end of the day, it is a personal choice. But if we have to choose something we find inconvenient just to be able to fit in the context window of an LLM, then I think we are doing things backward.