Transcript
Scott
Meyers:
Better Software — No
Matter What
Minimise Duplication!
(old times , care about size so we don't have duplication )
There is two kinds of code
duplication
Source Code Duplicated
Solve - Apply "Template Method Pattern"
- Avoid copy and paste!
- DRY
There is two kinds of code
duplication
Object Code duplication
Automate Unit Test
Safe way to refactoring
Small considerations..
Should be Fast No loops!
Executable Documentation
What should be tested ?
Thanks for your time!
Deivison Servat Sporteman
@sporteman
/deivison.sporteman