Strong coupling is never good because one object can be highly dependent on some other object. Loosely-coupled programs are high in flexibility and extensibility. Interactions between two objects occur because there is coupling. Maintaining, modifying and extending behaviors scattered all over the code is very tedious even for the most experience programmers. Difference Between Coupling And Cohesion In Software Engineering Ppt Code Is Very Its just that without cohesion, it will be very difficult to mange the functionality because they will be scattered in many wrong places as the complexity of the application increases over time. It is important to understand that not having cohesiveness does not mean that the overall application does not have the required functionality. On the other hand, if a class is performing a bunch of totally unrelated functionalities that means the class is not cohesive at all. If a certain class is performing a set of highly related functions, that class is said to be cohesive. Well structured classes lead to highly cohesive programs. These two software engineering metrics were developed by Larry Constantine to reduce the cost of modifying and maintaining software. Difference Between Coupling And Cohesion In Software Engineering Ppt Code Is Very.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |