From the course: Java EE: Design Patterns and Architecture
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Advantages and disadvantages
From the course: Java EE: Design Patterns and Architecture
Advantages and disadvantages
- [Narrator] So what are the advantages and disadvantages of using functional cohesion? Items that are used together are located together. This makes it much easier to find things when we need them. This is especially beneficial for developers who are new to the system. It is much easier to navigate through the application's structure when you can clearly see what the intent is based on the folder naming and packet structure. When finding where to put new code or fixing a bug this can represent a time-saving and save the frustration of getting lost in the application's structure. Functional organization is more logical. It better models the actual problem we're trying to solve as it represents the way we actually interact with the domain itself. And finally if done properly, we can avoid framework tie-ins as no framework-specific code should be used within the functional divisions, although sometimes this is hard to avoid. So what are the disadvantages? Well you lose the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.