Get off work fast, keep your code clean, start refactoring using IntelliJ (with shortcut keys) - Basics
I've vaguely heard the term refactoring, but I've organized it so that beginner developers who don't know how to refactor code using the IntelliJ IDEA editor can quickly learn.
Through hands-on practice, you will learn how to safely fix your code by combining refactor features.
Learn how to quickly access refactoring in IntelliJ IDEA.
Learn how each refactor technique works through examples.
I recommend this to these people.
A developer with 2nd or 3rd year of experience who is just starting Java development
Developers who have heard the term refactoring but are unsure of how to apply it
Developers who have learned refactoring techniques from books but do not know how to connect these techniques to effectively modify code.
Students' Concerns & Solutions
When you have a lot of code to fix, and it's so complex that you don't know where to start...
I've heard of the simple refactoring technique in the IDEA editor, but I don't know how it works...
If you look at how each refactoring technique explained in this lecture works and follow the practical steps, your worries will be solved!!!!
What you'll learn in this lecture ✨
If you want to quickly, safely, and easily fix the Java code you're currently writing, you absolutely must know the refactoring techniques below!
Introduce Variable ( Exclude as a variable )
Extract Method ( Extract by method )
Change Signature ( Change the method )
Extract Delegate ( Extract as object )
Introduce Parameter Object ( make parameters immutable objects )
Move Instance Method ( and move the method )
Replace Inheritance With Delegate ( Learn how to break inheritance relationships )
In this lecture, you will learn each of the refactoring techniques mentioned above.
Through hands-on exercises, we'll teach you how to use each refactoring technique to safely and quickly modify your code.
What you'll learn 📚
Experience the evolution of your code through refactoring. !!!!!
Have you ever tried modifying an endless if statement like the one below?
Using the refactor feature supported by IntelliJ IDEA, you can evolve it as follows with just a few modifications:
Expected Questions Q&A 💬
Q. Why should I learn IntelliJ IDEA's refactor feature? A. When modifying code, there are many cases where a simple "find and replace" operation isn't enough. Therefore, each Java editor provides a refactoring function, though it may have a different name. Mastering refactoring techniques can significantly reduce the difficulty of modifying code, so I believe it's essential to learn them.
Q. Can non-majors also take the course? A. Yes, if you have some basic development knowledge, it's possible . If you have a passion for development, I don't think your major matters. :) However, having some basic development experience can be helpful. If you find it difficult, don't hesitate to ask. :)
Q. Is this course platform-specific? A. Yes, this course covers features supported by IntelliJ IDEA, a popular Java editor used by many major companies. Since the course is designed for MacOS, it may be platform-specific. However, for Windows users, shortcuts are displayed on the recorded screen, so you should be able to follow along without any issues.
Recommended for these people
Who is this course right for?
Beginner and intermediate level developers who have difficulty applying refactoring techniques for the first time
Developers who are concerned about how to safely fix legacy code
Developers who want to modify Java code while designing
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 :)
@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!!)
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.
@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.