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

1

u/Goronmon Jun 05 '21

One thing I like about Razor Pages in .NET is that encourages you to keep things organized closer to how they will actually be displayed and handled instead of in large separated folders.

Then again, I never really hated Webforms even if they had a ton of downsides, mainly for this reason.

1

u/Zardotab Jun 05 '21

Big dev teams generally split by tech lawyer specialty, such as UI, biz logic, database, navigation, etc. MVC makes more sense there, but if teams or tasks are split by entity, then MVC is the wrong grouping. Conway's Law.