honeyboy_20
November 14th, 2008, 03:17 PM
what is meant by Loose coupling and its problem?
|
Click to See Complete Forum and Search --> : what is meant by Loose coupling ? honeyboy_20 November 14th, 2008, 03:17 PM what is meant by Loose coupling and its problem? ahoodin November 14th, 2008, 04:41 PM Here is a good article from the MSDN: http://msdn.microsoft.com/en-us/magazine/cc337885.aspx It may help shed some light on loose coupling. honeyboy_20 November 14th, 2008, 06:03 PM Thanks. TheCPUWizard November 14th, 2008, 06:07 PM what is meant by Loose coupling and its problem? Loose coupling is the SOLUTION to a series of problems, the looser the better. Tight coupling, basically means something made up of ttwo or more parts, where the parts can NOT be used individually. class Driver { public Car ar; } class Car { } Driver is tightly to Car, and can not be used without it. boudino November 19th, 2008, 04:44 AM I would say that what you are talking about is a difference between association and aggregation. As I understood loose coupling vs. tight coupling, it is about a knowleadge of specific type of associated object, so the client rely on the specifict type (tight) rather that on its contract (loose). codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |