Refactoring Python Code [Video]

By Rudy Lai
    Advance your knowledge in tech with a Packt subscription

  • Instant online access to over 7,500+ books and videos
  • Constantly updated with 100+ new titles each month
  • Breadth and depth in over 1,000+ technologies

About this video

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.

All the code and supporting files of this course are available on GitHub at - https://github.com/PacktPublishing/Refactoring-Python-Code-v-

Style and Approach

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.

Publication date:
September 2018
Publisher
Packt
Duration
2 hour and 47 minutes
ISBN
9781788836418

About the Author

  • Rudy Lai

    Colibri Digital is a technology consultancy company founded in 2015 by James Cross and Ingrid Funie. The company works to help its clients navigate the rapidly changing and complex world of emerging technologies, with deep expertise in areas such as big data, data science, machine learning, and Cloud computing. Over the past few years, they have worked with some of the World's largest and most prestigious companies, including a tier 1 investment bank, a leading management consultancy group, and one of the World's most popular soft drinks companies, helping each of them to better make sense of its data, and process it in more intelligent ways.The company lives by its motto: Data -> Intelligence -> Action. Rudy Lai is the founder of QuantCopy, a sales acceleration startup using AI to write sales emails for prospects. By taking in leads from your pipelines, QuantCopy researches them online and generates sales emails from that data. It also has a suite of email automation tools to schedule, send, and track email performancekey analytics that all feed back into how our AI generates content. Prior to founding QuantCopy, Rudy ran HighDimension.IO, a machine learning consultancy, where he experienced first-hand the frustrations of outbound sales and prospecting. As a founding partner, he helped startups and enterprises with HighDimension.IO's Machine-Learning-as-a-Service, allowing them to scale up data expertise in the blink of an eye. In the first part of his career, Rudy spent 5+ years in quantitative trading at leading investment banks such as Morgan Stanley. This valuable experience allowed him to witness the power of data, but also the pitfalls of automation using data science and machine learning. Quantitative trading was also a great platform from which you can learn about reinforcement learning and supervised learning topics in depth and in a commercial setting. Rudy holds a Computer Science degree from Imperial College London, where he was part of the Dean's List, and received awards such as the Deutsche Bank Artificial Intelligence prize.

    Browse publications by this author
Book Title
Unlock this video and the full library for FREE
Start free trial