Clean Code in Python Develop Maintainable and Efficient Code, 2nd Edition.
References -- Chapter 3: General Traits of Good Code -- Design by contract -- Preconditions -- Postconditions -- Pythonic contracts -- Design by contract - conclusions -- Defensive programming -- Error handling -- Value substitution -- Exception handling -- Using assertions in Python -- Separation o...
| Cote: | Libro Electrónico |
|---|---|
| Auteur principal: | |
| Format: | Électronique eBook |
| Langue: | Inglés |
| Publié: |
Birmingham :
Packt Publishing, Limited,
2021.
|
| Édition: | 2nd ed. |
| Sujets: | |
| Accès en ligne: | Texto completo |
| Résumé: | References -- Chapter 3: General Traits of Good Code -- Design by contract -- Preconditions -- Postconditions -- Pythonic contracts -- Design by contract - conclusions -- Defensive programming -- Error handling -- Value substitution -- Exception handling -- Using assertions in Python -- Separation of concerns -- Cohesion and coupling -- Acronyms to live by -- DRY/OAOO -- YAGNI -- KIS -- EAFP/LBYL -- Inheritance in Python -- When inheritance is a good decision -- Anti-patterns for inheritance -- Multiple inheritance in Python -- Method Resolution Order (MRO) -- Mixins. This Python coding book will help you understand the problems that arise due to inefficient code, demonstrating to you how to correct them. |
|---|---|
| Description: | Description based upon print version of record. How small should an interface be? |
| Description matérielle: | 1 online resource (423 p.) |
| Bibliographie: | References -- Chapter 3: General Traits of Good Code -- Design by contract -- Preconditions -- Postconditions -- Pythonic contracts -- Design by contract - conclusions -- Defensive programming -- Error handling -- Value substitution -- Exception handling -- Using assertions in Python -- Separation of concerns -- Cohesion and coupling -- Acronyms to live by -- DRY/OAOO -- YAGNI -- KIS -- EAFP/LBYL -- Inheritance in Python -- When inheritance is a good decision -- Anti-patterns for inheritance -- Multiple inheritance in Python -- Method Resolution Order (MRO) -- Mixins. |
| ISBN: | 9781800562097 1800562098 |


