keyline2.jpg

Also known as Single Point of Truth, is an OOP philosophy intended to remove the process of repeatedly writing the same code. The theory is that duplication decreases clarity and increases the chances of inconsistency through interpretation.

keyline2.jpg

Also kind of seems like a decent life philosophy as well, in terms of the company you keep. I find the more I have to repeat myself, or explain what I mean to someone, the less likely we’re on the same level.

keyline2.jpg

When the DRY principle is applied successfully, a modification of any single element of a system (like a specific function within an AS3 class), doesn’t change other logically-unrelated elements. Additionally, elements that are logically related all change predictably and uniformly, and are thus kept in sync.

keyline2.jpg