Python Fundamentals II
Lessons are arranged in a recommended order, but you can open any lesson.
Chapter 1
From Working Code to Program Design
Chapter 2
More Expressive Functions
- Useful Defaultspractice
- Positional and Keyword Argumentspractice
- Make Important Arguments Explicitpractice
- Optional Values and Nonepractice
- Meet Python’s REPL
- Documenting a Function
- Describe Values with Type Hintspractice
- Pure Functions and Side Effectspractice
- Pass a Function as a Valuepractice
- Project: Configurable Scoring and Reportscapstone
Chapter 3
Transforming and Combining Data
- Meet Tuples
- Unpack Related Valuespractice
- Count with enumerate()practice
- Combine Sequences with zip()practice
- Sort Records with a Keypractice
- Summarize Meaningful Datapractice
- Check Conditions Across a Collectionpractice
- Readable Comprehensionspractice
- Project: Normalize, Rank, and Summarize Attemptscapstone
Chapter 4
Your First Classes and Objects
- From Question Dictionaries to Question Objects
- Define a New Kind of Valuepractice
- Create Valid Question Instancespractice
- Give an Object Behaviorpractice
- What self Refers Topractice
- Work with Several Independent Objectspractice
- Let a Quiz Collaborate with Questionspractice
- Project: Replace Quiz Dictionaries with Objectscapstone
Chapter 5
Protecting Valid Object State
- Define an Object's Valid Statepractice
- Validate Constructionpractice
- Change State Through Meaningful Methodspractice
- Public and Internal Attributespractice
- Compute Information with Propertiespractice
- Control Changes with Property Setterspractice
- Change Related State Togetherpractice
- Project: Questions and Attempts That Stay Validcapstone
Chapter 6
Objects Working Together
- Pass One Object to Anotherpractice
- Hold a Collection of Objectspractice
- Build Has-a Relationshipspractice
- Delegate Workpractice
- Choose Who Owns a Responsibilitypractice
- Keep Domain Logic Away from Input and Outputpractice
- Read and Draw Object Collaborationspractice
- Project: Build a Collaborating Quiz Systemcapstone
Chapter 7
Representing and Comparing Objects
Chapter 8
Dataclasses and Value Objects
- Recognize Repetitive Class Codepractice
- Create a First Dataclasspractice
- Set Dataclass Defaultspractice
- Build Mutable Defaults Safelypractice
- Freeze Value Objectspractice
- Replace an Immutable Valuepractice
- Data-oriented and Behavior-rich Objectspractice
- Class Attributes and Instance Attributespractice
- Build Alternative Constructorspractice
- Keep Class-related Helpers Closepractice
- Project: Model Result Records and Configurationcapstone
Chapter 9
Inheritance and Polymorphism
- Different Objects, the Same Operationpractice
- Use Duck Typingpractice
- Use Optional Object Capabilitiespractice
- Create a Base Classpractice
- Initialize Subclasses with super()practice
- Override and Extend Behaviorpractice
- Use Polymorphic Collectionspractice
- Respect Behavioral Expectationspractice
- Replace an Unhelpful Hierarchypractice
- Project: Support Several Question Typescapstone
Chapter 10
Organizing a Program Across Files
- Why Split a Working Program
- Modules and Namespacespractice
- Import Classes Clearlypractice
- Import Styles and Import-time Codepractice
- Choose an Entry Pointpractice
- Separate Domain, Interface, and Entry Modulespractice
- Package Folders and Circular Importspractice
- Project: Split the Quiz Application into Modulescapstone
Chapter 11
Iteration as an Interface
Chapter 12
Errors as Part of Program Design
- Raise a Useful Built-in Errorpractice
- Follow an Error Through Collaborating Objectspractice
- Catch Errors at the Interface Boundarypractice
- Translate a Low-level Errorpractice
- Create a Domain Exceptionpractice
- Preserve Useful Diagnostic Informationpractice
- Project: Design Meaningful Quiz Errorscapstone
Chapter 13
Testing and Refactoring Object-oriented Programs
- Test Public Behaviorpractice
- Arrange, Act, Assertpractice
- Test Construction and State Changespractice
- Test Collaborating Objectspractice
- Test Several Casespractice
- Test Expected Exceptionspractice
- Protect Behavior with Regression Testspractice
- Read Failures and Notice Couplingpractice
- Project: Test and Refactor the Quiz Applicationcapstone
Chapter 14
Final Capstone: A Community Lending Library
- Choose the Problem and Read the Contractpractice
- Identify Concepts and Responsibilitiespractice
- Draw the First Object Collaborationpractice
- Implement the Loan Value Objectpractice
- Implement the Main Behavior-rich Objectpractice
- Return Safe Collection Snapshotspractice
- Support Polymorphic Behaviorpractice
- Enforce State and Design Errorspractice
- Yield Overdue Loanspractice
- Test, Refactor, and Review the Systempractice
- Submit and Explain the Designcapstone
Course reviews
No reviews yet
Be the first to share your experience.