Functions and OOP
Write reusable code with functions and organize your programs using object-oriented programming concepts.

Join the AI Workshop to learn more about AI and how it can be applied to web development. Next cohort February 1st, 2026

The AI-first Web Development BOOTCAMP cohort starts February 24th, 2026. 10 weeks of intensive training and hands-on projects.


Functions are reusable blocks of code, and object-oriented programming lets you organize code into classes and objects. This unit covers both fundamental concepts, from basic functions to advanced OOP techniques.

Lessons in this unit:

0: ▶︎ Introduction
1: Functions
2: Lambda functions
3: Nested functions
4: Recursion
5: Closures
6: Objects
7: Classes
8: Polymorphism
9: Operator overloading