Beruflich Dokumente
Kultur Dokumente
to S.O.L.I.D.
Language-Independent Best Practices
S T U P I D
S T P I D
Singleton
Hides dependencies
Tight Coupling
Premature Optimization
We should forget about small
efficiencies . . . premature
optimization is the root of all
evil.
-Donald Knuth
Im a big fan of good enough
for now. Often good enough for
now ends up being good
enough for shipping the thing.
-Jonathan Blow
Indescriptive Naming
For example:
Duplication
S O L I D
Single Responsibility
Principle
Interface Segregation
Principle
Dependency Inversion
Principle
wat?
Dependency Inversion
Principle
Dependency Inversion
Principle
S.O.L.I.D.D. code?
Law of Demeter
Further Reading
http://williamdurand.fr/2013/07/30/from-stupid-tosolid-code/
http://www.codemag.com/article/1001061