Cargando…

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...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Anaya, Mariano
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, Limited, 2021.
Edición:2nd ed.
Temas:
Acceso en línea:Texto completo

MARC

LEADER 00000cam a2200000Mu 4500
001 EBSCO_on1231608794
003 OCoLC
005 20231017213018.0
006 m o d
007 cr cnu---unuuu
008 210116s2021 xx o ||| 0 eng d
040 |a EBLCP  |b eng  |c EBLCP  |d UKAHL  |d NLW  |d YDX  |d N$T  |d OCLCF  |d OCLCQ  |d IEEEE  |d OCLCO 
019 |a 1230120848  |a 1235963418  |a 1380392792 
020 |a 9781800562097 
020 |a 1800562098 
029 1 |a AU@  |b 000068856854 
035 |a (OCoLC)1231608794  |z (OCoLC)1230120848  |z (OCoLC)1235963418  |z (OCoLC)1380392792 
037 |a 10163022  |b IEEE 
050 4 |a QA76.73.P98  |b .A539 2020 
082 0 4 |a 005.133  |2 23 
049 |a UAMI 
100 1 |a Anaya, Mariano. 
245 1 0 |a Clean Code in Python  |h [electronic resource] :  |b Develop Maintainable and Efficient Code, 2nd Edition. 
250 |a 2nd ed. 
260 |a Birmingham :  |b Packt Publishing, Limited,  |c 2021. 
300 |a 1 online resource (423 p.) 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
500 |a Description based upon print version of record. 
505 0 |a Cover -- Copyright -- Packt Page -- Contributors -- Table of Contents -- Preface -- Chapter 1: Introduction, Code Formatting, and Tools -- Introduction -- The meaning of clean code -- The importance of having clean code -- Some exceptions -- Code formatting -- Adhering to a coding style guide on your project -- Documentation -- Code comments -- Docstrings -- Annotations -- Do annotations replace docstrings? -- Tooling -- Checking type consistency -- Generic validations in code -- Automatic formatting -- Setup for automatic checks -- Summary -- References -- Chapter 2: Pythonic Code 
505 8 |a Indexes and slices -- Creating your own sequences -- Context managers -- Implementing context managers -- Comprehensions and assignment expressions -- Properties, attributes, and different types of methods for objects -- Underscores in Python -- Properties -- Creating classes with a more compact syntax -- Iterable objects -- Creating iterable objects -- Creating sequences -- Container objects -- Dynamic attributes for objects -- Callable objects -- Summary of magic methods -- Caveats in Python -- Mutable default arguments -- Extending built-in types -- A brief introduction to asynchronous code 
520 |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. 
505 8 |a Arguments in functions and methods -- How function arguments work in Python -- How arguments are copied to functions -- Variable number of arguments -- Positional-only parameters -- Keyword-only arguments -- The number of arguments in functions -- Function arguments and coupling -- Compact function signatures that take too many arguments -- Final remarks on good practices for software design -- Orthogonality in software -- Structuring the code -- Summary -- References -- Chapter 4: The SOLID Principles -- The single responsibility principle -- A class with too many responsibilities 
505 8 |a Distributing responsibilities -- The open/closed principle -- Example of maintainability perils for not following the OCP -- Refactoring the events system for extensibility -- Extending the events system -- Final thoughts about the OCP -- Liskov's substitution principle -- Detecting LSP issues with tools -- Using mypy to detect incorrect method signatures -- Detecting incompatible signatures with pylint -- More subtle cases of LSP violations -- Remarks on the LSP -- Interface segregation -- An interface that provides too much -- The smaller the interface, the better 
500 |a How small should an interface be? 
520 |a This Python coding book will help you understand the problems that arise due to inefficient code, demonstrating to you how to correct them. 
504 |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. 
590 |a eBooks on EBSCOhost  |b EBSCO eBook Subscription Academic Collection - Worldwide 
650 0 |a Python (Computer program language) 
650 6 |a Python (Langage de programmation) 
650 7 |a Enterprise software.  |2 bicssc 
650 7 |a Computer programming / software development.  |2 bicssc 
650 7 |a Programming & scripting languages: general.  |2 bicssc 
650 7 |a Computers  |x Enterprise Applications  |x General.  |2 bisacsh 
650 7 |a Computers  |x Programming  |x General.  |2 bisacsh 
650 7 |a Computers  |x Programming Languages  |x Python.  |2 bisacsh 
650 7 |a Python (Computer program language)  |2 fast 
776 0 8 |i Print version:  |a Anaya, Mariano  |t Clean Code in Python  |d Birmingham : Packt Publishing, Limited,c2021  |z 9781800560215 
856 4 0 |u https://ebsco.uam.elogim.com/login.aspx?direct=true&scope=site&db=nlebk&AN=2721612  |z Texto completo 
938 |a ProQuest Ebook Central  |b EBLB  |n EBL6452487 
938 |a Askews and Holts Library Services  |b ASKH  |n AH38232719 
938 |a EBSCOhost  |b EBSC  |n 2721612 
938 |a YBP Library Services  |b YANK  |n 301860948 
994 |a 92  |b IZTAP