7 ms·
The directory structure does not help to understand what kind of application is this one. Splitting the code into controllers, directives, services, ... or by p
by pdelgallego 13y ago
The directory structure does not help to understand what kind of application is this one. Splitting the code into controllers, directives, services, ... or by pages hides the user cases. The only thing the directory structure is revealing is that this application use some kind MVC pattern, and that is just an implementation detail.
It would be great that when I open a project I see the main user stories/components, and all code related to a user case lies in a single place.
- AndrewDucker 13y agoExcept that, largely, code and uses cases crosscut each other. A given set of data, collected on one page, may support several use cases, but separating it out into multiple places will make no sense to someone coming along later who wants to know how to add extra data to that page.
- deleted 13y ago[deleted]