Created
May 3, 2017 16:50
-
-
Save cloudshooterhuman/eefabc15cc44cd82a3a4b5e140d4869c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Package by features | |
The directory structure is the very first thing encountered by a programmer when browsing source code. Everything flows from it. Everything depends on it. It is clearly one of the most important aspects of your source code. | |
### Gains and Benefits | |
* By looking at the structure you can already tell what the app is all about (figure 1); | |
* Higher modularity; | |
* Easier code navigation; | |
* Higher level of abstraction; | |
* Separates both features and layers; | |
* More readable and maintainable structure; | |
* More cohesion; | |
* Much easier to scale; | |
* Less chance to accidentally modify unrelated classes or files; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment