Lighting Talk - Scott meyers better software — no matter what

9
Scott Meyers: Better Software No Matter What

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

Page 1: Lighting Talk - Scott meyers better software — no matter what

Scott

Meyers:

Better Software — No

Matter What

Page 2: Lighting Talk - Scott meyers better software — no matter what

Minimise Duplication!

(old times , care about size so we don't have duplication )

Page 3: Lighting Talk - Scott meyers better software — no matter what

There is two kinds of code

duplication

Source Code Duplicated

Solve - Apply "Template Method Pattern"

- Avoid copy and paste!

- DRY

Page 4: Lighting Talk - Scott meyers better software — no matter what

There is two kinds of code

duplication

Object Code duplication

Page 5: Lighting Talk - Scott meyers better software — no matter what

Automate Unit Test

Page 6: Lighting Talk - Scott meyers better software — no matter what

Safe way to refactoring

Page 7: Lighting Talk - Scott meyers better software — no matter what

Small considerations..

Should be Fast No loops!

Executable Documentation

Page 8: Lighting Talk - Scott meyers better software — no matter what

What should be tested ?

Page 9: Lighting Talk - Scott meyers better software — no matter what

Thanks for your time!

Deivison Servat Sporteman

[email protected]

@sporteman

/deivison.sporteman