Law of Demeter
A Practical Guide to Loose Coupling
14:30 - 16:00 Saturday 9th April 2022 BST
Beginner
Intermediate
Is loosely coupled, easy to change code with a flexible and testable design sound comeplling to you? If so then this talk is for you!
In this practical session, we will go through examples that follow and/or violate the Law of Demeter principle (LoD) [1].
We will take a deep dive into what kind of design issues that exposes and how to fix them.
Additionally, we will focus on the testing aspect of following the LoD principle together with Single Responsibility and Dependency Inversion principles.
At the end of this session, the audience will have a better understanding of how to write a loosely coupled code, how to easily test it and why the Law of Demeter principle is so important in Software Design.
Let’s !"only talk to our immediate friends" at ACCU-2022!
Kris Jusiak
Kris is a Software Architect passionate about programming and has worked in different industries over the years including telecommunications, games, and most recently finance for Quantlab Financial, LLC. He has an interest in modern C development with a focus on performance and quality. He is an open-source enthusiast with multiple open-source libraries where he uses template meta-programming techniques to support the C rule - "Don’t pay for what you don’t use" whilst trying to be as declarative as possible with a help of domain-specific languages. Kris is also a keen advocate of extreme programming techniques, Test/Behavior Driven Development and truly believes that 'the only way to go fast is to go well!'.