11

An Introduction to Clean Code Developer

Embed Size (px)

Citation preview

Page 1: An Introduction to Clean Code Developer
Page 2: An Introduction to Clean Code Developer

Agenda• What we can learn from martial arts

• Idea of “Clean Code Developer”

• Practices & Principles

• Grade overview

• “Black Grade”

• “Red Grade”

Page 3: An Introduction to Clean Code Developer

Kata

Randori

Kyu/Dan

Values

Page 4: An Introduction to Clean Code Developer

Who stops has already lost• Find something (small) you want to improve

• Remind yourself

• Dont give up

Page 5: An Introduction to Clean Code Developer

Clean Code Developer• Evolvable

• Correctness

• Efficiency

• Continous Improvement

• Principles

• Practices

Page 6: An Introduction to Clean Code Developer

Grades•black → commitment to improve

• red → basic principles and practices

•orange → automate things

•yellow → continous testing

•green → continous integration

•blue → continous deployment

•white → all of the above & restart with red

Page 7: An Introduction to Clean Code Developer

1st grade (red): Principles• Don´t Repeat Yourself (DRY)

• Keep it simple, stupid (KISS)

• Be careful with optimizations

• Favour Composition over Inheritance (FCoI)

Page 8: An Introduction to Clean Code Developer

1st grade (red): Practices• Boy Scout rule

• Root Cause Analysis

• Use a version control system

• Start with simple refactoring

• Reflect on a daily basis

Page 9: An Introduction to Clean Code Developer

Summary• Improve yourself

• Think big, start small

• Don’t do 100%

• Just increase by 20%

Page 11: An Introduction to Clean Code Developer