Object Orientated Programming: Week 5

Banner

Object Orientated Programming

LEARNING OBJECTIVES


This week we are going to look at:

1. MIGRATING programs from PROCEDURAL to OBJECT-ORIENTED PROGRAMMING
2..Introducing the PROPERTY function.
3..Introducing MANAGER OBJECTS.

Python 


Migrating to Object  Programs
Powerpoint: [Overview] [In Detail]

Powerpoint: Manager Objects


Two page summary



Videos:
Migrating to Object Oriented Programs


Manager Objects






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

Python IntrepreterCode in Action




Getters and Setters


Property Decorators - Getters, Setters, and Deleters




Links


Lab #5
Lab #5 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.



Back

If you have any suggestions, corrections, or comments, please feel free to e-mail me at:
Damian.X.Gordon(a)tudublin.ie