Clean Code and Refactoring slides #4

Merged
chillkroete merged 9 commits from cleancode into main 2026-02-21 19:01:33 +01:00
Owner
No description provided.
Separates architecture content into dedicated module and creates new slide deck for Clean Code and Refactoring topics.

Reduces original module from 8 to 4 hours, moving architecture patterns and design principles to focused presentation. Prepares foundation for Clean Code content while maintaining existing "What vs How" conceptual slides.

Creates placeholder structure for upcoming Clean Code and Refactoring material with matching 4-hour time allocation.
Adds comprehensive content and code examples for refactoring techniques in clean code slides:

- Enhances Extract Method with before/after examples showing order processing refactoring
- Adds Replace Temp with Query technique with discount calculation example
- Introduces Inline Temp pattern for simplifying temporary variables
- Documents Move Method with customer notification example and supporting meme
- Expands Rename technique with salary calculation refactoring
- Adds Encapsulate Field with password/role validation example and meme
- Introduces Parameter Object pattern for report generation use case
- Adds placeholder for Extract Class technique

Includes risk mitigation strategies for each technique (unit tests, performance considerations, validation).
Expands the clean code slides with detailed explanations of seven refactoring techniques including Extract Class, Replace Conditional with Polymorphism, Inline Class, Replace Magic Number with Symbolic Constant, and Simplify Method/Loop Refactoring.

Provides code examples showing before and after states for each technique, along with guidance on when to apply them and associated risks.

Includes a comprehensive comparison table summarizing all covered refactoring techniques with their primary code smells, benefits, and complexity levels.

Introduces SonarQube as an automated code analysis tool, covering its features, versioning options, core concepts (Quality Gates, Rules, Issues, Dashboards), and Docker installation reference.
chillkroete changed title from WIP: Clean Code and Refactoring slides to Clean Code and Refactoring slides 2026-02-21 18:55:23 +01:00
chillkroete deleted branch cleancode 2026-02-21 19:01:33 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
chillkroete/advanced_se!4
No description provided.