English | MP4 | AVC 1920×1080 | AAC 48KHz 2ch | 2h 47m | 719 MB
Practical techniques and methods to make your existing Python code faster, reliable, and more maintainable.
Even the most well-planned code can develop anti-patterns over the years. These make the codebase difficult to maintain. Small changes can break major features because Python anti-patterns are a symptom of deeper problems in your code base.
Learn to resolve Python anti-patterns with techniques and methods to improve the design of your existing code. Tackle bugs by understanding the principles of refactoring, and learn to spot opportunities by identifying code that requires refactoring. We will also show you how to build test-driven processes to make refactoring easier. This course will show you how to remove Python anti-patterns from your programs in simple steps. We cover specific techniques for refactoring and improving sloppy Python code.
Take this course if you want to have a legacy Python code base with a lot of issues. Apply real-world refactoring techniques, and turn your code into clean, efficient, and maintainable projects.
This course will help you understand the principles of refactoring. With our expert guidance, you will learn to identify code that requires refactoring. Benefit from our authors’ extensive experience and learn to build a test-driven process to make refactoring easier.
What You Will Learn
- Refactor your Python code and make it clean and easy to manage
- Identify Python anti-patterns and remove them with easy-to-follow steps
- Practice refactoring methods and get to grips with real-world scenarios
- Refactor classes and objects by making them easier to understand, maintain, and more efficient
- Implementing pattern-based refactoring
- Make major progress by using third-party refactoring tools to speed up your refactoring work
Table of Contents
Getting Started with Refactoring
1 The Course Overview
2 Benefits of Refactoring
3 Understanding Refactoring Principles
4 Overview of Refactoring Tools
Removing Python Anti-Patterns
5 Overview of Python Anti-Patterns
6 Various Types of Python Anti-Patterns
7 Playbooks for Removing Anti-Patterns
Simplifying Long and Complex Functions into Smaller Methods
8 Refactoring Through Splitting Up Functions
9 Refactoring Through Merging Functions
10 Replace Complex Expressions with Inner Function Calls
11 Refactoring Through Local Variable Creation
Refactoring Classes and Objects in OOP
12 Assessing the Correct Class for Fields and Methods
13 Moving Functions Around Different Classes to Group Functionality
14 Refactor Delegate Classes to Remove Double Dependencies
15 Removing Middlemen Classes to Reduce Needless Complexity
Pattern-Based Refactoring
16 Introduction to Pattern Based Refactoring
17 Using Encapsulation Methods for Refactoring
18 Removing Multiple Checks for None in Your Python Code
19 Python Refactoring Using Conditionals
Using 3rd Party Refactoring Tools
20 Using Rope, a Python Refactoring Library
21 Using Codemods to Do Python Refactoring
22 Other Tools Available for Refactoring
Resolve the captcha to access the links!