The above just gives a method in which cohesion and coupling in a software is understood. Relationship between software components. Functions as we use in C++ & Java programming signifies coupling i.e. The degree to which the responsibilities of a single component form a meaningful unit. The best way to understand Cohesion and Coupling is: Classes and objects as we use in C++ & Java programming signifies cohesion i.e. Keeping external interfaces simple and general will help reduce coupling to a minimum. 1 Coupling and Cohesion Software Engineering Module: Definition A logical collection of related program entities Not necessarily a physical concept, e.g., file. Abstraction Modularity, coupling and cohesion Information hiding Limit complexity Hierarchical structure. Main issues: decompose system into parts many attempts to measure the results design as product design as process.
0 Comments
Leave a Reply. |