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...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing, Limited,
2021.
|
Edición: | 2nd ed. |
Temas: | |
Acceso en línea: | Texto completo |
Sumario: | 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. |
---|---|
Notas: | Description based upon print version of record. How small should an interface be? |
Descripción Física: | 1 online resource (423 p.) |
Bibliografía: | 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 |