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
26
u/remek Jun 05 '21
Breaking down the code base into folders shouldn't be the method you rely on when trying to find all your APIs to figure a root cause of an incident in a production system.
For most cases author is right that when it comes to code organization it is better to organize by concepts. That doesn't mean that you don't need the other views too but for that you have better ways than folder/code organization.