Units and isolation in Delphi
Developers like to reuse code so we can be more productive, we are composing more complex objects using basic ones. Object injection is fundamental concept today, but we can easily end up with the situation when all the items are too much dependant. Over time, changes in such a design become more and more difficult.
This session will explain how to write more autonomous code from the very beginning and how to to separate isolated units. It will guide you how to discover difficult code: which structures are good and which one are dangerous from maintenance point of view. You will be able to write code which will be easier to isolate, easier to change and easier to reuse. We will use Delphi Mock framework to verify sample project and check how easy it is to isolate units and how to improve it.