Abstract
The programs so far have been primarily using a procedural style of programming. The procedural coding style is a good way to learn programming, but there are benefits to using object-oriented programming, which will be covered next. A useful thing about Python is that it supports many different coding styles, even allowing multiple styles in the same code. You have already been using some object-oriented code when making use of Python modules, including Pygame Zero.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2020 Stewart Watkiss
About this chapter
Cite this chapter
Watkiss, S. (2020). Object-Oriented Programming. In: Beginning Game Programming with Pygame Zero. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5650-3_9
Download citation
DOI: https://doi.org/10.1007/978-1-4842-5650-3_9
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-5649-7
Online ISBN: 978-1-4842-5650-3
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)