Prevent Roo from growing files too large #5426
curtfehr
started this conversation in
Feature Requests
Replies: 1 comment
-
ask it to follow SOLID OOPS principles, and split codebases into smaller chunks. it can always import reusable items from other files, ALL programming languages support this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Roo loves to take your existing code and just add to it. Sometimes, that can result in a file with 1000+ lines of code, and often when we reach that point, simple mistakes are made that can't be resolved (eg adding or removing a curly brace by mistake, then subsequently it can't find where to repair the mistake and gets itself stuck). Large files are also unwieldy to us lowly humans wanting to review these files. There should be strategizing in place to ensure it doesn't fall into being too additive to a file, and instead determines when a breakout/light refactor is needed.
Beta Was this translation helpful? Give feedback.
All reactions