abstract:In decision theory, the sure-thing principle denotes that outcomes which occur regardless of which actions are chosen, sure things, should not affect one’s preferences.
One thingdevelopers have come to agree onis that well-writtencodeis maintainable, and the DependencyInversionPrincipleis a sure way to designformaintainability.