Code: | legacy-clean |
Category: | Working with legacy code |
Format: | 20% lecture, 80% ćwiczenia |
Duration: | 1 day |
Target audience: |
developers |
Enrollment: | Groups, companies |
Venue: | Client's office. |
Clean code defines what good code should look like and the principles for maintaining it. Pure code consists of various architecture-related rules such as SOLID and attributes such as readability, extensibility, testability and much more. Refactoring is nothing else but cleaning your code.
But do we know how to approach it? Isn’t it often a theory followed by an idea to re-write given part of code because we are afraid to touch legacy code any longer?
During the workshop we go carefully through the concept of Refactoring Pyramid that allows to clean your code in small steps:
The workshop is focused on working with code using automated refactoring-features that are built into IntelliJ IDE. The source code is based on Java language. The trainer does all the refactorings live in small steps what allows the attendees to practice the same transformations on their laptops.
Remaining 25% of the training is dedicated to organizational and motivation part, how to make cleaning code a daily habit in order to keep technical debt under control.
Please note also that this is a training mainly about cleaning code – not necessary about one and the only correct design. Different teams might prefer different designs whereas the goal of this training is to show how easy we can keep the design emergent according to our architectural decisions and needs.
We start by acquiring new technical skills. Then we build awareness of our approach, which is reflected in the quality of the code, in actions to improve its quality or lack thereof. Awareness of the impact of work organization on quality is the first step to change that will allow continuous refactoring into clean code.
Meet the experts who will conduct your training.