Skip to content

Object-Oriented Programming

Under construction

This chapter is planned but not yet written. See the Curriculum Tracker for details.

What you'll learn

  • Understand classes, objects, attributes, and methods
  • Decide when OOP is useful vs plain functions
  • Implement simple class behavior with __init__
  • Model a small domain as class instances

Planned content

  • Classes, objects, attributes, and methods
  • When to use OOP vs functions
  • __init__, instance state, and method design
  • Practical example: BankAccount or TodoList class

Exercises

Exercises for this module will be added to the Foundations Exercises.