1

What is Refactoring?

Picture this. It’s your first day at a new job, and you’re filled with excitement and eager to showcase your skills. Your new colleagues are enjoyable to be around, the company seems fine, and you’re itching to get started. Your “onboarding buddy” begins showing you the project that you’ll be working on for the next several months or even years. The concepts behind it are promising, and the business itself is stable. However, the code base is an enormous, chaotic mess—like a smoking, tangled plate of spaghetti. Well, perhaps you don’t need to imagine it. It’s likely you’ve been in that situation before. Maybe you’re even experiencing it right now.

As soon as you open your IDE, you’re greeted with a plethora of modules ...

Get Refactoring in Java 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.