강의

멘토링

커뮤니티

Programming

/

Programming Language

How to Fix Legacy Java Code "Without Breaking It" Using Only IntelliJ Refactoring Shortcuts (A Guide to the Most Common Refactoring Mistakes Made by 2-3 Year Java Developers)

Legacy Java Code, The Most Practical Way to Fix It "Without Breaking" The reason refactoring is scary isn't because you don't understand the principles, but because you don't know how far you can trust your IDE. In this course, 👉 Using *only the refactorings guaranteed by IntelliJ IDEA* 👉 You'll develop **the sense to improve production code quickly and safely**.

(4.8) 5 reviews

112 learners

Level Basic

Course period Unlimited

  • sensaengkim247
Java
Java
IntelliJ IDEA
IntelliJ IDEA
Refactoring
Refactoring
Java
Java
IntelliJ IDEA
IntelliJ IDEA
Refactoring
Refactoring

Reviews from Early Learners

Reviews from Early Learners

4.8

5.0

프로이직러 앵과장

36% enrolled

Hello Mr. Bye, first of all, thank you for telling me about various development methods that I was ignorant of. I didn't know much about using various refactoring techniques using IntelliJ. It seems that it is necessary to read the manuals of Springboot and IntelliJ Tool carefully. Also, it was good to use shortcuts through refactoring methods or techniques, but more than anything, it seems good to look at the code level even though I only vaguely understood what TDD is in theory. I learned refactoring methods and shortcuts, but it would be better if there was a way to actually implement test code. I really feel like it comes from the practical experience needed for development. I am a real developer rather than a beginner. Mr. Bye, have a good day in the future and I look forward to the next content :)

5.0

KimAresen

100% enrolled

While using Intellij, I only heard about the refactoring supported by the IDE and only thought about how to use it, but it was good that it actually wrote about the source code that changed while refactoring the example and in what situations the function is used. I am starting to feel more confident that I can slowly proceed with refactoring with the Intellij IDE. Thank you for the great lecture.

5.0

민구

100% enrolled

It was a helpful lecture

What you will gain after the course

  • Learn how to safely modify code by combining refactor functions through hands-on practice.

  • Learn how to quickly access refactoring in IntelliJ IDEA.

  • Let's learn how each refactoring technique works through examples.

❓ Why does refactoring always feel so risky?

You learned refactoring techniques from books,
but when you stand in front of actual production code, don't these thoughts come to mind?

"Is it really okay to Extract Method here?"

"The IDE will handle this much on its own, right...?"

"What if there are side effects? Won't I be responsible for them?"

👉 Most refactoring failures happen
not because we 'don't trust the tools'
but because we 'don't know what the tools guarantee'.


🎯 This course has only one goal

Developing the instinct to rapidly improve production code
by using only the refactorings that IntelliJ IDEA safely guarantees

In this course,

  • We don't go over refactoring theory
  • We do not recommend manual modifications or intuitive code changes

Instead,

✔ IntelliJ IDEA's refactoring that ensures safety up to compile time
How the actual code changes and why it's safe
In what order to combine various refactoring techniques

will be covered in a hands-on manner.

🛠️ This is how we proceed

  • One method → Multiple methods
  • A single class → A structure with separated responsibilities
  • Complex conditionals → Meaningful objects and methods

The entire process is
👉 based on IntelliJ refactoring features + shortcuts
👉 and clearly shows you "how far you can automate."


What You'll Learn in This Course ✨

To quickly, safely, and easily refactor the Java code you're currently writing, you MUST!!!! know the refactoring techniques below.

  • Introduce Variable (extract as variable)
  • Extract Method (extract as a method)
  • Change Signature (change methods)
  • Extract Delegate (extract as an object)
  • Introduce Parameter Object (convert parameters into an immutable object)
  • Move Instance Method (move methods)
  • Replace Inheritance With Delegate (Learn how to break inheritance relationships.)

In this course, you will learn all of the refactoring techniques mentioned above,

Through hands-on practice, we'll show you how to safely and quickly modify code using each refactoring technique.


What You'll Learn 📚

Experience code evolution through refactoring!!!!!

Have you ever experienced modifying endless if statements like the one below?

Using the refactor feature supported in IntelliJ IDEA, through a few modifications... you can evolve it as shown below.

I notice the `` tags are empty - there is no Korean text between them to translate. However, I can translate the surrounding Korean text if that would be helpful: **Before:** Have you ever experienced modifying an if statement without a body? Using the refactor feature supported in IntelliJ IDEA, through a few modifications... it can evolve as follows. **After:** Expected Questions Q&A 💬 Q. Why should I learn IntelliJ IDEA's refactor feature? A. When modifying code, there are more cases where you simply cannot use "find and replace" to make changes. That's why


Anticipated Q&A 💬

Q. Why should I learn IntelliJ IDEA refactor features?
A. When modifying code, there are more cases where you can't simply use "find and replace." That's why each Java editor provides refactoring features, though they may have different names. Once you master refactoring techniques, you can significantly reduce the difficulties in modifying code, which is why I believe it's essential to learn them.

Q. Can non-majors take this course?
A. Yes, it's possible if you have some prerequisite knowledge. If you have a passion for development, whether you majored in it or not doesn't seem to matter. :) However, having very basic development experience will help you understand better. If you find it difficult, don't struggle alone—feel free to reach out anytime :)

Q. Is this course dependent on a specific platform?
A. Yes, it may be platform-specific as the course introduces features supported by IntelliJ IDEA, a Java editor program commonly used by many major companies, and is structured in a MacOS environment. However, for Windows users, shortcuts are displayed on the recorded screen, so there should be no problem following along.

Since the shortcuts are configured to be displayed on the recorded screen for Windows users, there should be no problem following along.`, nhưng thẻ này đang trống. Bạn có thể cung cấp văn bản tiếng Hàn cần dịch không?

Recommended for
these people

Who is this course right for?

  • Someone who knows Java syntax but always hesitates when it comes to refactoring

  • Anyone who has experienced side effects while modifying legacy code

  • People who know what 'Extract Method' is, but are confused about when to use it

Need to know before starting?

  • Java Basic Syntax

  • Basic usage methods for IntelliJ IDEA

  • Passion for development

Hello
This is

112

Learners

5

Reviews

4.8

Rating

1

Course

Hello.

I enjoy learning on my own and sharing what I have experienced,

I am Seunggyeom Kim, a developer who loves programming.

Current) Woowa Brothers - Backend Developer Former) JobKorea - Platform Architecture Former) 11st - Backend Developer Former) WeMakePrice - Backend Developer

  • Current) Woowa Bros - Backend Developer

  • Ex) JobKorea - Platform Architecture

  • Ex) 11st - Backend Developer

  • Former) WeMakePrice - Backend Developer

I am Seunggyeom Kim, a developer. Current) Woowa Bros - Backend Developer Former) JobKorea - Platform Architecture Former) 11st - Backend Developer Former) WeMakePrice - Backend Developer

I am Seunggyeom Kim, a developer. Current) Woowa Bros - Backend Developer Former) JobKorea - Platform Architecture Former) 11st - Backend Developer Former) WeMakePrice - Backend Developer

Curriculum

All

28 lectures ∙ (2hr 30min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

5 reviews

4.8

5 reviews

  • angrydaddy님의 프로필 이미지
    angrydaddy

    Reviews 1

    Average Rating 5.0

    5

    36% enrolled

    Hello Mr. Bye, first of all, thank you for telling me about various development methods that I was ignorant of. I didn't know much about using various refactoring techniques using IntelliJ. It seems that it is necessary to read the manuals of Springboot and IntelliJ Tool carefully. Also, it was good to use shortcuts through refactoring methods or techniques, but more than anything, it seems good to look at the code level even though I only vaguely understood what TDD is in theory. I learned refactoring methods and shortcuts, but it would be better if there was a way to actually implement test code. I really feel like it comes from the practical experience needed for development. I am a real developer rather than a beginner. Mr. Bye, have a good day in the future and I look forward to the next content :)

    • sensaengkim247
      Instructor

      @Manager Ang, thank you for your first feedback. In offline, I shared this content comfortably with developers, but since it was my first time making an online course, it was more difficult than I thought ^^; while filming the video (in a fluster...) @.@ Nevertheless, thank you very much for your positive feedback. Currently, I am contemplating various roadmaps and thinking a lot about how to provide good guidelines for beginners. I will actively review the comments and work even harder to make the next course better. Thank you. (bow!!)

  • tkwkalsrn8776님의 프로필 이미지
    tkwkalsrn8776

    Reviews 1

    Average Rating 5.0

    5

    100% enrolled

    It was a helpful lecture

    • sensaengkim247
      Instructor

      Thank you for your opinion. I will continue to reward you with good content ^^ Thank you.

  • kimaresen님의 프로필 이미지
    kimaresen

    Reviews 27

    Average Rating 5.0

    5

    100% enrolled

    While using Intellij, I only heard about the refactoring supported by the IDE and only thought about how to use it, but it was good that it actually wrote about the source code that changed while refactoring the example and in what situations the function is used. I am starting to feel more confident that I can slowly proceed with refactoring with the Intellij IDE. Thank you for the great lecture.

    • sensaengkim247
      Instructor

      @KimAresen, Thank you for your kind review. In my long experience of programming, I don't think there's a topic that's as difficult to find an answer to as the act of refactoring ^^ So, I'm glad to hear that it was helpful to you, and I'll work hard to prepare for the next lecture as well. Thank you again.

  • stvparkpark6001님의 프로필 이미지
    stvparkpark6001

    Reviews 8

    Average Rating 4.3

    4

    32% enrolled

    • jiu4163님의 프로필 이미지
      jiu4163

      Reviews 10

      Average Rating 5.0

      5

      100% enrolled

      I think I can write code more easily now that I know about writing clean code. Thank you!

      $26.40

      Similar courses

      Explore other courses in the same field!