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

Comments

Projects
None yet
2 participants
@ArazAbishov
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

This comment has been minimized.

Show comment
Hide comment
@artem-zinnatullin

artem-zinnatullin Oct 23, 2016

Owner

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

Owner

artem-zinnatullin commented Oct 23, 2016

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