WIP: Clean Code and Refactoring slides #4

Draft
chillkroete wants to merge 6 commits from cleancode into main
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.
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin cleancode:cleancode
git switch cleancode

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff cleancode
git switch cleancode
git rebase main
git switch main
git merge --ff-only cleancode
git switch cleancode
git rebase main
git switch main
git merge --no-ff cleancode
git switch main
git merge --squash cleancode
git switch main
git merge --ff-only cleancode
git switch main
git merge cleancode
git push origin main
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.