Skip to Content
Clean Code in Python - Second Edition
book

Clean Code in Python - Second Edition

by Mariano Anaya
January 2021
Intermediate to advanced
422 pages
10h 39m
English
Packt Publishing
Content preview from Clean Code in Python - Second Edition

6

Getting More Out of Our Objects with Descriptors

This chapter introduces a new concept that is more advanced in Python development since it features descriptors. Moreover, descriptors are not something programmers of other languages are familiar with, so there are no easy analogies or parallelisms to make.

Descriptors are another distinctive feature of Python that take object-oriented programming to another level, and their potential allows users to build more powerful and reusable abstractions. Most of the time, the full potential of descriptors is observed in libraries or frameworks.

In this chapter, we will achieve the following goals that relate to descriptors:

  • Understand what descriptors are, how they work, and how to implement them ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Clean Code in Python

Clean Code in Python

Mariano Anaya

Publisher Resources

ISBN: 9781800560215Supplemental Content