Code Refactoring for Java

The course deals with the concept of refactoring as a way of preventing software rot. The course describes various smells indicating that a code needs refactoring, explains which refactoring types best suit specific situations, and describes the work of refactoring in detail through analyzing concrete real-life cases.
Code: DEV-006_JVA
Duration: 24 hours

Description

The course deals with the concept of refactoring as a way of preventing software rot. The course describes various smells indicating that a code needs refactoring, explains which refactoring types best suit specific situations, and describes the work of refactoring in detail through analyzing concrete real-life cases.

Refactoring is the process of changing a software system in such a way that it does not alter the external behavior of the code yet improves its internal structure. It is a disciplined way to clean up code that minimizes the chances of introducing bugs. In essence when you refactor you are improving the design of the code after it has been written.

The need for refactoring is provided by the so-called "smells" that may signal problems inside the code. Smells may be found at the level of one class or between classes.

Refactoring principles apply to any object-oriented programming language.

Roadmap

  • Introduction
  • Smells within classes
  • Smells between classes
  • Composing methods
  • Moving features between objects
  • Organizing data
  • Simplifying conditional expressions
  • Making method calls simpler
  • Dealing with generalization
  • Refactoring with Java 8
  • Refactoring and testing

Objectives

After completing the course, students will:
  • Gain all the necessary information about refactoring principles
  • Know how to properly explain the need for refactoring
  • Be able to implement refactoring activities in the development process
  • Know how to identify code smells
  • Be able to make informed decisions on refactoring a problem code
  • Have the ability to perform refactoring step-by-step
  • Know how to use automated code refactoring tools

Target Audience

  • Developers
  • Senior developers

Prerequisites



Register for the next course
+
Registering in advance ensures you have priority. We’ll notify you when we schedule the next course on this topic
Bucharest €415
Krakow €415
Wroclaw €415

Invoices for the course will be issued in local currency. All fees above can change according to training location and delivery mode and are subject to change while scheduling. For individual participants the price is as displayed. For legal entities VAT is added to the displayed price.

Courses you may be interested in:

Recommended Reading:

  • Martin Fowler. Refactoring: Improving the Design of Existing Code
  • Joshua Kerievsky. Refactoring to Patterns
  • Scott W. Ambler Refactoring Databases : Evolutionary Database Design
  • Wake, William C.. Refactoring Workbook.
  • Feathers, Michael C. Working Effectively with Legacy Code.

Sign up

First Name*
Last Name*
Company
Email*
Preferred Location
Phone
Your Comment
Luxoft Warsaw - Warsaw Spire, plac Europejski 1, 00-844 Warszawa
Dimitrie Pompeiu nr 5-7 , building C, Et. 5, sect 2, Bucharest, 014459

Contact phone:

021 371 4858
Luxoft Poland Wroclaw - Silver Tower pl. Konstytucji 3-go Maja 3 50-048 Wroclaw
Aleja Generała Tadeusza Bora-Komorowskiego 25, Quattro Business Park Five, 31-476 Kraków, Poland

Contact phone:

+48 122110650
Success
Thank you.
Your request has been received.