Python Code Refactoring - Writing Modular Functions
Offered By: Samuel Chan via YouTube
Course Description
Overview
Explore the process of refactoring a monolithic Python function into smaller, modular, and testable components in this 26-minute tutorial. Learn essential mental models for writing modular Python functions, enhancing code maintainability, testability, and predictability. Follow along as the instructor demonstrates breaking down a large function into several smaller ones, ideal for unit testing. This video is part of a series on building a Python package for a terminal-based productivity tool. For a comprehensive learning experience, consider watching the full playlist, which includes previous episodes on TaskWarrior, command-line productivity scoreboards, and publishing Python packages. Access the code repository on GitHub and the published package on PyPI to practice implementing these concepts in your own projects.
Syllabus
Build w/ Python 4: Python Code Refactoring (Modular python functions)
Taught by
Samuel Chan
Related Courses
Artificial Intelligence for RoboticsStanford University via Udacity Intro to Computer Science
University of Virginia via Udacity Design of Computer Programs
Stanford University via Udacity Web Development
Udacity Programming Languages
University of Virginia via Udacity