6. Alternative?
Simple Object Orientation Practices
[And Object Orientation need not
require an “object oriented” language]
7. Inversion of Control /Dependency
Injection
It’s about the source code dependency pointing
the opposite way of the runtime dependency –
however way you achieve that
11. Example Doc
Given –
1. An account registered with an account ID “x” and initial balance of
£200
2. An overdraw attempt is made to debit £300 from account “x”
3. An overdraw attempt is made to debit £300 from account “x”
When-
An attempt to debit £300 from account “x”
Then –
1. An overdraw attempt is made to debit £300 from account “x”
2. Account “x” is locked