Code Refactoring

preview_player
Показать описание
Refactoring is something that is scary and tedious to most programmers, but at the same time, if done well, it can greatly improve your project. Today, we take a close look at just what refactoring is, and how it can be done!

= Table of Contents =
01:15 Definition of Refactoring
02:34 When to Refactor
03:23 My Refactoring Story
04:58 Refactoring Techniques
→ 05:20 Renaming Functions and Variables
→ 05:44 Naming Magic Numbers
→ 06:59 Organizational Refactoring
→ → 07:16 Extract Function
→ → 07:32 Inline Function
→ → 08:05 Extract Class
→ → 09:47 Inline Class
→ → 10:07 Moving Items On the Inheritance Tree
→ 11:51 Working with Bidirectional Dependencies
→ 13:51 Exceptions and Error Handling
15:55 Conclusion

= 0612 TV =

Enjoy your stay, and don't hesitate to drop me a comment or a personal message to my inbox =) If you like my work, don't forget to subscribe!

= NERDfirst =
NERDfirst is a project allowing me to go above and beyond YouTube videos into areas like app and game development. It will also contain the official 0612 TV blog and other resources.

-----

Disclaimer: Please note that any information is provided on this channel in good faith, but I cannot guarantee 100% accuracy / correctness on all content. Contributors to this channel are not to be held responsible for any possible outcomes from your use of the information.
Рекомендации по теме
Комментарии
Автор

I have no idea what this channel is, nor how I subscribed to it in the first place is, but this video is helpful. Thank you

CJBurkey
Автор

First, thank you for this video. It's exactly the situation I'm in right now, and in fact, have shelved the project completely ... because it's kicking my butt. It's really hard because I'm trying to implement, not just better readability and intention, but mainly some sort of design pattern that would fit my project.

So why has it been shelved, other than the fact it's so hard to refactor? Because I've tried and tried over and over but keep hitting a wall. If you fail enough times at something, eventually your motivation gives out and you lose interest. I have a high tolerance for failure when it comes to creativity. There's just so many ideas to try. Well, I guess I hit my wall.

I guess sharing this story is more cathartic than anything. I haven't forgotten the project. I will return. Just waiting for that moment when thinking about it doesn't send me into clinical depression... lol

abelgutierrez