Upload
thomas-mentzel
View
446
Download
0
Embed Size (px)
Citation preview
Agenda• What we can learn from martial arts
• Idea of “Clean Code Developer”
• Practices & Principles
• Grade overview
• “Black Grade”
• “Red Grade”
Kata
Randori
Kyu/Dan
Values
Who stops has already lost• Find something (small) you want to improve
• Remind yourself
• Dont give up
Clean Code Developer• Evolvable
• Correctness
• Efficiency
• Continous Improvement
• Principles
• Practices
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
1st grade (red): Principles• Don´t Repeat Yourself (DRY)
• Keep it simple, stupid (KISS)
• Be careful with optimizations
• Favour Composition over Inheritance (FCoI)
1st grade (red): Practices• Boy Scout rule
• Root Cause Analysis
• Use a version control system
• Start with simple refactoring
• Reflect on a daily basis
Summary• Improve yourself
• Think big, start small
• Don’t do 100%
• Just increase by 20%
Some References• Clean Code (Book)
• Clean Code Developer Site
• CCD 1st (red) grade
• CCD App (Windows Store)
• CodeWars