Lighting Talk - Scott meyers better software — no matter what

Post on 06-Jul-2015

243 views 0 download

Transcript of Lighting Talk - Scott meyers better software — no matter what

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

deivison.sporteman@gmail.com

@sporteman

/deivison.sporteman