© Ted Hagos 2022
T. HagosBeginning IntelliJ IDEAhttps://doi.org/10.1007/978-1-4842-7446-0_7

7. Refactoring

Ted Hagos1  
(1)
Makati, Philippines
 
In this chapter, we will cover the following:
  • Overview of refactoring

  • Common (and important) refactoring actions

  • How IntelliJ does refactoring

“Technical debt,” “DRY principle,” “clean code” — ever heard these terms mentioned during code reviews? Dev conferences, maybe? I bet you have. These may be buzzwords now, but they’re not empty. These terms were coined (and became popular) for good reasons.

The most exciting parts of building a new app (for me, at least) were the initial coding phase. That was always a blast, but as the project enters the maintenance phase — where your initial technical decisions come to ...

Get Beginning IntelliJ IDEA: Integrated Development Environment for Java Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.