Tutorials: The How and Why of Object-oriented Programming in Python
Thursday - April 20th, 2023 9 a.m.-12:30 p.m. in
Python supports multiple programming paradigms. You can write procedural programs, use functional programming features, or use the full power object-oriented programming.
In this tutorial you will learn how to get the most out of object-oriented programming. After this tutorial you will able to:
- design you own objects
- take advantage of inheritance for code re-use
- implement special methods for pythonic objects
- convert programs from a procedural to a object-oriented approach
This tutorial is based on a small but comprehensive example. Starting from a procedural solution with lists and dictionaries, the tutorial gradually introduces how to create own objects to solve the same problem. The next steps introduce the concepts of inheritance and special methods to take full advantage of object-oriented programming.