Victor Rentea
Java Champion, ex Lead Architect @IBM
Victor (@VictorRentea) is a Java Champion, and one of the top Technical Trainers, having trained more than 5000 developers in dozens of companies worldwide.
Victor’s talks are regularly top-rated at the largest international conferences in Europe: his live-coding sessions are lightning-fast but well crafted, full of enthusiasm, deep insights and take-away tips. His passion is Simple Design, Refactoring, and Unit Testing, about which he regularly talks at top conferences. His personal commitment is to seed passion for writing clean, professional code.
Victor’s talks are regularly top-rated at the largest international conferences in Europe: his live-coding sessions are lightning-fast but well crafted, full of enthusiasm, deep insights and take-away tips. His passion is Simple Design, Refactoring, and Unit Testing, about which he regularly talks at top conferences. His personal commitment is to seed passion for writing clean, professional code.
Workshop topic:
Clean Code for Frontend
Time & Date:
March 14th & 15th | 9am-5pm CET

After this workshop you will be able to:
- Identify common Code Smells and compare various ways to fix them.
- Refactor without introducing bugs, by splitting large changes in safe baby-steps.
- Boost your productivity and focus by mastering your IDE refactoring support.
- Become a better team player by coding, reviewing, and pairing like a pro.
- Learn state-of-the-art best practices of your programming language.
This training is for you if:
- You are a frontend developer looking to upgrade the quality of the code you write.
- You are a tech lead/coach/chapter lead concerned with helping your colleagues develop their skills.
What to expect: The workshop mixes refactoring exercises in TypeScript with debates on design topics, attitude, ethics, teamwork, and more, in a very entertaining style, spiced with analogies and real-life stories. During the last half we will refactor some larger samples, ideally from the audience’ production code.
Agenda
-
- Introduction
- Refactoring Opportunities: pre-done, boy-scout, pre-change, post-frustration, post-rush
- Refactoring Stoppers: lack of time, fear, long branches, focus
- Teamwork: code review, intentional-commits, pair programming
- ⭐Baby-steps refactoring: how to split large changes in tiny steps
- [optional] Special techniques for old legacy code: Mikado Method, Golden Master Testing
- Expressive Code
- Good names: explanatory variables, methods, and constants
- Function signature: numbers of parameters, booleans, default parameters (5 alternatives)
- Function depth and guard clauses
- The 3 rules of a clean switch
- Finding seams to break code in comments, empty lines, nesting
- Error handling best practices
- Async code: callback hell vs promise chains (.then.then) vs async/await vs rxJS
- Clean OOP Code
- Types over arrays, enums, type-hints (for JS codebases)
- Extracting Value Objects vs Lack of abstractions
- Encapsulation: push behavior next to State, enforce domain constraints
- Clean FP Code
- CQS Principle, Pure Functions & Immutable Objects; tradeoffs
- Replacing for loops with FP pipelines (.map, .filter, ..)
- FP patterns and anti-patterns: side-effects, Tuples, stream wreck
- Refactoring Moves with IDE: extract/inline variables/methods/constants, and more
- Code Smells – the most damaging micro-design issues of today & ways to fix
- Larger Refactoring Exercises (2-4 hours):
- Victor on 1-2 snippets of Production Code from the audience, and/or
- Participants on a Refactoring Kata in Pairing or Mobbing
- Introduction
- Any Other Debates, guided by the audience questions
* If you're interested in this program, please contact us at info@itkonekt.com to find out more about availability and prices.