Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package structure: vertical over horizontal slicing #209

Open
arazabishov opened this issue Oct 18, 2016 · 1 comment
Open

Package structure: vertical over horizontal slicing #209

arazabishov opened this issue Oct 18, 2016 · 1 comment

Comments

@arazabishov
Copy link
Contributor

arazabishov commented Oct 18, 2016

Code in qualitymatters at this moment is grouped into packages by layers (api, models, network, etc). Instead, it might be better to group bits of code by features / use cases. Such structure is easier to understand, extend and refactor. Please, see this article here: http://www.javapractices.com/topic/TopicAction.do?Id=205

It also might be not applicable to qualitymatters, since project itself is quite small, so horizontal slicing (by layers) can also work.

What do you think?

@artem-zinnatullin
Copy link
Owner

I'm not against that, on real-life projects we usually group code by features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants