Code Smells & Refactoring
Code smells are not bugs. The program works, but the code slows your team down and becomes a source of technical debt and future bugs.
In this course you learn to recognise common smells and to remove them in small, safe steps. Most of the day you work in pairs on deliberately bad code.
- Duration
- 1 day
- Price
- €1,050 plus €115 per participant, excluding VAT
- Group size
- Up to 12 participants
- Language
- English, German or Dutch
- Location
- On-site, at your company
- Exercises
- C#. The smells and refactorings apply to other object-oriented languages too.
- Laptops
- One per two participants. Participants bring their own or a company laptop.
Who it's for
Developers who write code regularly in an object-oriented language such as C#, C++ or Java. You need basic knowledge of C# and of object-oriented programming.
Topics
- What code smells are and why they matter
- Refactoring safely, backed by tests
- Bloaters: long methods, large classes, long parameter lists
- Object-orientation abusers: switch statements, temporary fields, misused inheritance
- Change preventers: shotgun surgery, divergent change
- Dispensables: duplication, dead code, unnecessary comments
- Couplers: tight coupling, train wrecks
Want this course for your team? Contact me to plan a date or to request a quote. Or see all courses.
Tonni Tielens