You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know that having everything in one giant .py file makes it easier to distribute the project. But I don't think it can keep scaling, it's already almost 5000 lines long.
I'd love to create more type-safe classes to describe the compose file structure, but that would blow up the code to 10k+ lines.
Perhaps it's time to refactor it into multiple files? With a build step to assemble everything into one blob.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I know that having everything in one giant
.pyfile makes it easier to distribute the project. But I don't think it can keep scaling, it's already almost 5000 lines long.I'd love to create more type-safe classes to describe the compose file structure, but that would blow up the code to 10k+ lines.
Perhaps it's time to refactor it into multiple files? With a build step to assemble everything into one blob.
Beta Was this translation helpful? Give feedback.
All reactions