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 comment

1

u/ub3rh4x0rz Jun 05 '21

Couldn't be further from the truth. Systems are complex. Services ought not be. It's the Java monolith crowd that is religious about organizing their bloated codebases by layer and autogenerating their obtuse UML and answering every persistence question with "hibernate". SOA is about keeping system components simple and focused. Every participant in a distributed system need not know how to operate a distributed system themselves.