Refactoring in Python LiveLessons: Improving Your Code Video Training

Video description

4+ Hours of Video Instruction
With more than 4 hours of video instruction, learn how to refactor effectively in the Python programming language, gain all the basics to begin improving and simplifying your software designs, and refactor mercilessly.
In Refactoring in Python LiveLessons, Bryan Beecham shows developers how to recognize problems in their code, how to make needed changes to create high- quality software that can be rapidly developed, and how to refactor effectively in the Python programming language.
Refactoring is at the core of software improvement, giving structure and purpose on how to make software better. Changes to the code make it easier to understand, easier to modify, and easier to add new code.
Although refactoring is not new, software developers might struggle with how to do it properly. As Agile grows, concepts such as DevOps push to have high-quality and welI-designed code to allow for faster deployment and feedback. Much of the existing documentation on refactoring is in Java. By creating these examples in Python, it provides more fitting help for the large and growing Python workforce.
Skill Level
  • Beginner to Intermediate

Learn How To
  • Improve and simplify your software designs
  • Refactor effectively in Python programming language
  • Refactor legacy code
  • Start using TDD with an existing code base
  • Begin pair or mob programming with a new Agile team

Who Should Take This Course
  • Python software and other software developers looking to improve skills in Refactoring
  • Managers interested in learning about refactoring and how to help their teams get started

Course Requirements
  • Familiarity with programming, preferably in Python

Lesson Descriptions
Lesson 1, Refactoring Fundamentals, reviews the basics of refactoring, where refactoring comes from, and the reasons for refactoring as well as when to stop. Learn how Technical Debt and Return on Investment (ROI) impact refactoring, the concept of refactoring without tests, the significance of source control systems, and what it means to refactor in a pythonic way.
Lesson 2, Recognizing Issues in Your Code, demonstrates finding problems in software. Locating these issues is the first step in refactoring your code. Review how comments can help or hurt, the overuse of conditionals, examples of confusing names, large code blocks, negative logic, too many parameters, multiple returns, how duplication can be harmful, the dangers of inconsistency, locating similar patterns, and examples of poor formatting.
Lesson 3, Common Refactoring Techniques, discusses the most common refactoring techniques that are used in the industry today. Learn the different types of refactoring that exist and the main refactoring techniques. Review examples for Rename, Move, Extract, and Inline refactoring techniques.
Lesson 4, Refactoring Examples, applies all the previous information, building four programs and applying refactoring knowledge to them. Learn how to locate problems in the software, determine which test to write next, and apply the appropriate refactoring.
Lesson 5, Inside Refactoring, first explores some academic concepts and ideas about refactoring. Then, it introduces the phases of Prepare, Improve, and Clean that exist when we refactor our software.
Lesson 6, The Benefits of Working with Others, reviews Pair Programming and the impact it has on refactoring. Learn about Mob Programming and the impact it has on teams.
Lesson 7, The Role of Testing in Refactoring, looks at the importance of creating tests for refactoring. Review how refactoring can improve testing and how refactoring works in a Test Driven Development (TDD) cycle.
About Pearson Video Training
Pearson publishes expert-led video tutorials covering a wide selection of technology topics designed to teach you the skills you need to succeed. These professional and personal technology videos feature world- leading author instructors published by your trusted technology brands: Addison-Wesley, Cisco Press, Pearson IT Certification, Prentice Hall, Sams, and Que Topics include: IT Certification, Network Security, Cisco Technology, Programming, Web Development, Mobile Development, and more. Learn more about Pearson Video training at video.

Table of contents

  1. Introduction
    1. Refactoring in Python LiveLessons: Improving Your Code Video Training: Introduction 00:01:50
  2. Lesson 1: Refactoring Fundamentals
    1. Learning objectives 00:00:38
    2. 1.1 Understand the concept of refactoring 00:03:27
    3. 1.2 Learn where refactoring comes from 00:01:10
    4. 1.3 Understand why we refactor 00:02:19
    5. 1.4 Learn when to stop refactoring 00:01:23
    6. 1.5 Understand technical debt 00:02:12
    7. 1.6 Learn how Return on Investment (ROI) impacts refactoring 00:01:49
    8. 1.7 Understand the risks of refactoring without tests 00:01:22
    9. 1.8 Learn the importance of saving your work 00:01:27
    10. 1.9 Refactor in a pythonic way 00:02:16
  3. Lesson 2: Recognizing Issues in Your Code
    1. Learning objectives 00:00:57
    2. 2.1 Understand how comments can help and hurt you 00:02:29
    3. 2.2 Spot the over use of conditionals 00:00:46
    4. 2.3 Review examples of confusing names 00:02:47
    5. 2.4 Understand the dangers of large code blocks 00:02:10
    6. 2.5 Find negative logic in your code 00:00:58
    7. 2.6 Understand the dangers of using too many parameters 00:02:48
    8. 2.7 Understand why multiple returns can be a sign of issues 00:01:22
    9. 2.8 Understand how duplication can be harmful to your code 00:01:18
    10. 2.9 Understand the dangers of inconsistency 00:00:43
    11. 2.10 Find similar patterns 00:00:43
    12. 2.11 Find examples of poor formatting 00:01:34
    13. 2.12 Identify what a code smell is 00:01:40
    14. 2.13 Spot zombie code 00:02:04
    15. 2.14 Learn how to remove clutter, complexity, and cleverness 00:00:35
  4. Lesson 3: Common Refactoring Techniques
    1. Learning objectives 00:00:37
    2. 3.1 Review types of refactoring 00:00:48
    3. 3.2 Introducing the main refactoring techniques 00:01:03
    4. 3.3 Use the Rename technique 00:04:10
    5. 3.4 Use the Move technique 00:01:17
    6. 3.5 Use the Extract technique 00:03:14
    7. 3.6 Use the Inline technique 00:03:07
    8. 3.7 Learn other refactoring techniques 00:01:18
  5. Lesson 4: Refactoring Examples
    1. Learning objectives 00:01:06
    2. 4.1 Apply refactoring through the use of programming katas 00:01:21
    3. 4.2 Build the program FizzBuzz 00:14:38
    4. 4.3 Build the Roman Numerals kata 00:19:35
    5. 4.4 Create a bowling game - Part1 00:10:24
    6. 4.5 Create a bowling game - Part2 00:11:10
    7. 4.6 Refactor the Gilded Rose program: Find the code smells 00:05:55
    8. 4.7 Refactor the Gilded Rose program: Create the test suite 00:15:27
    9. 4.8 Refactor the Gilded Rose program: Improve the code - Part1 00:10:44
    10. 4.9 Refactor the Gilded Rose program: Improve the code - Part2 00:13:00
    11. 4.10 Refactor the Gilded Rose program: Add new functionality 00:09:53
  6. Lesson 5: Inside Refactoring
    1. Learning objectives 00:00:24
    2. 5.1 Understand the concept of inside refactoring 00:00:43
    3. 5.2 Prepare your software for a beneficial change 00:01:20
    4. 5.3 Improve your software 00:00:34
    5. 5.4 Clean your software so the next change can occur 00:01:11
    6. 5.5 Review an example of inside refactoring 00:05:59
  7. Lesson 6: The Benefits of Working with Others
    1. Learning objectives 00:00:26
    2. 6.1 Understand how the practice of Pair Programming can improve your refactoring skills 00:02:53
    3. 6.2 Understand how mob programming and group refactoring efforts can improve your software 00:03:50
  8. Lesson 7: The Role of Testing in Refactoring
    1. Learning objectives 00:00:23
    2. 7.1 Recognize the importance of creating tests for refactoring 00:02:25
    3. 7.2 Understand how to refactor to improve your testing 00:00:50
    4. 7.3 Understand how refactoring works with Test Driven Development (TDD) 00:02:52
  9. Summary
    1. Refactoring in Python LiveLessons: Improving Your Code Video Training: Summary 00:01:09

Product information

  • Title: Refactoring in Python LiveLessons: Improving Your Code Video Training
  • Author(s): Bryan Beecham
  • Release date: November 2017
  • Publisher(s): Addison-Wesley Professional
  • ISBN: 0134864026