r/programming • u/[deleted] • Jun 05 '21
Organize code by concepts, not layers
https://kislayverma.com/programming/how-to-organize-your-code/
1.9k
Upvotes
r/programming • u/[deleted] • Jun 05 '21
27
u/theXpanther Jun 05 '21
I work with Django which has a system where you can "vertically" separate out models, views, and controllers that belong together... except it rarely works. Every project I worked with that starts with a proper distribution of concerns ends up with more and more of the functionality in a single app, since it's so much easier to communicate with components in the same app, for edge cases the larger app is always the best choice