Clean Code in Python by Mariano Anaya
Author:Mariano Anaya
Language: eng
Format: mobi, epub, pdf
Tags: COM005000 - COMPUTERS / Enterprise Applications / General, COM051360 - COMPUTERS / Programming Languages / Python, COM051000 - COMPUTERS / Programming / General
Publisher: Packt Publishing
Published: 2019-06-03T11:50:42+00:00
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 takes 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 effectively
Analyze the two types of descriptors (data and non-data descriptors), in term of their conceptual differences and implementation details
Reuse code effectively through descriptors
Analyze examples of good uses of descriptors, and how to take advantage of them for our own libraries of APIs
Download
Clean Code in Python by Mariano Anaya.epub
Clean Code in Python by Mariano Anaya.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(5933)
Linux Device Driver Development Cookbook by Rodolfo Giometti(3331)
Implementing Enterprise Observability for Success by Manisha Agrawal and Karun Krishnannair(2731)
TCP IP by Todd Lammle(2615)
Drawing Shortcuts: Developing Quick Drawing Skills Using Today's Technology by Leggitt Jim(2515)
Pandas Cookbook by Theodore Petrou(2488)
Applied Predictive Modeling by Max Kuhn & Kjell Johnson(2460)
Learn Qt 5: Build modern, responsive cross-platform desktop applications with Qt, C++, and QML by Nicholas Sherriff(2166)
40 Algorithms Every Programmer Should Know by Imran Ahmad(2095)
Design Made Easy with Inkscape by Christopher Rogers(2018)
Supercharging Productivity with Trello by Brittany Joiner(1997)
Fusion 360 for Makers by Lydia Sloan Cline(1977)
The Artificial Intelligence Imperative by Anastassia Lauterbach(1834)
Build Stunning Real-time VFX with Unreal Engine 5 by Hrishikesh Andurlekar(1808)
The Old New Thing by Raymond Chen(1709)
Mastering Python Scientific Computing by Hemant Kumar Mehta(1701)
Mastering Tableau 2023 - Fourth Edition by Marleen Meier(1696)
Customizing Microsoft Teams by Gopi Kondameda(1641)
Inkscape by Example by István Szép(1605)