O'Reilly logo

IntelliJ IDEA Essentials by Jarosław Krochmalski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Make It Better – Refactoring

In this chapter, we will take a look at source code refactoring in IntelliJ IDEA. Refactoring is the process of restructuring your source code base without changing its behavior. It enhances code readability and reduces its complexity. When the internal code structure improves, the code becomes easier to maintain and extend. Refactoring is important not only during everyday work on your own code, but for legacy code as well. The refactoring patterns are catalogued by Martin Fowler at www.refactoring.com. This is a great resource—the catalogue contains a detailed description of each refactoring along with the corresponding code example. We will focus on how IntelliJ IDEA helps with executing these refactoring ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required