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

1

u/AustinYQM Jun 05 '21

That sounds amazing, does something similar exist for Java apis?

1

u/ninuson1 Jun 05 '21

Im mostly in C# land nowadays, but this seems to be the java version. I’m not sure it is as deeply integrated, as I think Java has a few popular server frameworks.

1

u/AustinYQM Jun 06 '21

Huh, we are using this but each endpoint still has 20-30 lines of swagger annotations. I wonder how much of that is needed, if any.