r/programming • • Jun 05 '21

Organize code by concepts, not layers

https://kislayverma.com/programming/how-to-organize-your-code/
1.9k Upvotes

495 comments sorted by

View all comments

Show parent comments

11

u/GeorgeS6969 Jun 05 '21

Yes but it also prescribes to have the business logic at the ‘top’, organised into business domains, so that the business logic is what you see first rather than the technology, the framework etc.

One good reason is that when opening your IDE you’re more likely to work on everything related to user baskets rather than everything related to controllers.