Programming and Algorithms: Week 29


Object Orientated Programs

What are we doing this week?

This week we are going to look at MIGRATING programs from PROCEDURAL to OBJECT-ORIENTED PROGRAMMING, and looking at the PROPERTY function.

Python Python Logo

Powerpoint: Migrating to Object Oriented Programs

Powerpoint: Manager Objects

Total running time of videos is 35 minutes.

Sample Code:
Polygon Perimeter * Polygon Perimeter Class * Colour * Colour Getters and Setters * Colour Getters and Setters detailColour Getters and Setters property * Alife * ZipReplace

Getters and Setters

Property Decorators - Getters, Setters, and Deleters

Programiz: Python Property

Python Course: Properties How Python Properties Help With Refactoring

Lab #29
Lab #29 is all about checking if what you have learned in the episodes above all makes sense, and if you can use the property function in Python.


If you have any suggestions, corrections, or comments, please feel free to e-mail me at: