tag:blogger.com,1999:blog-6008447801024190541.post5608289044214434012..comments2014-03-01T03:51:27.490+01:00Comments on What's new on the Developer's Front?: A false claim about loose couplingEric Jan Malotauxhttp://www.blogger.com/profile/11146058582748543970noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-6008447801024190541.post-33247344975395848382010-12-02T10:29:22.417+01:002010-12-02T10:29:22.417+01:00It all depends on how you define the definition of...It all depends on how you define the definition of "interface".<br /><br />If one defines an interface as the shape of a message/request/response (e.g. wsdl) than, yes it is true that changing the implementation might break the system.<br /><br />If one defined an interface as the combination of the shape AND it's behaviour (e.g. if a message that is shaped in a certain way is sent,Bellohttps://www.blogger.com/profile/13870118447936784829noreply@blogger.comtag:blogger.com,1999:blog-6008447801024190541.post-77396187735127829472010-11-12T09:15:44.681+01:002010-11-12T09:15:44.681+01:00You are right of course, but only if you are respo...You are right of course, but only if you are responsible for both the larger system and the module in question, and if you are the one writing the unit tests for it along with implementing its functionality.<br /><br />But if the module is someone else's responsibility, the unit tests are also out of your control and could be changed to accept any other functionality.<br /><br />I failed to Eric Jan Malotauxhttps://www.blogger.com/profile/11146058582748543970noreply@blogger.comtag:blogger.com,1999:blog-6008447801024190541.post-40479572534185063462010-11-11T13:28:30.219+01:002010-11-11T13:28:30.219+01:00Eric
Your Payments example certainly would break...Eric <br /><br />Your Payments example certainly would break the larger system. However the point isn't that modularity stops this from happening rather:<br /><br />1) It is easy to unit test the "Service Transfer" module and detect that it is indeed broken.<br /><br />2) The whole system can be rapidly re-wired with a new "Service Transfer" module that actually works. <brRichard Nicholsonhttps://www.blogger.com/profile/00742964822004119760noreply@blogger.com