Categories: Programming

Clean Code in Python Develop maintainable and efficient code, 2nd Edition

Pdf Book Name: Clean Code in Python Develop maintainable and efficient code, 2nd Edition
Author: Mariano Anaya
Publisher: Packt Publishing Ltd
ISBN-10, 13: 9781800562097,1800562098
Year: 2021
Pages: 422 / 423 Pages
Language: English
File size: 4 MB
File format: PDF,EPUB

Clean Code in Python Develop maintainable and efficient code, 2nd Edition Pdf Book Description:

This book is suitable for all software engineering practitioners who are interested in software design or learning more about Python. It is assumed that the reader is already familiar with the principles of object-oriented software design and has experience writing code. It will appeal to team leads, software architects and senior software engineers who want to learn good Python coding techniques to create projects from scratch or work on their legacy systems to save costs and improve efficiency. The book is organized in such a way that the content is in increasing order of complexity. The first chapters cover the basics of Python, which is a good way to learn the main idioms, functions, and utilities available in the language. The idea is not just to solve some problems with Python, but to do so in an idiomatic way. Experienced programmers will also benefit from the topics in this book, as some sections cover advanced topics in Python, such as decorators, descriptors, and an introduction to asynchronous programming. It will help the reader discover more about Python because some of the cases are analyzed from the internals of the language itself.

Scientists using Python for data processing can also benefit from the content of this book, and to that end, several parts of the book are dedicated to setting up projects from the ground up, in terms of tools, configuration of environments, and good practices to release software.It is worth emphasizing the word “practitioners” in the first sentence of this section. This is a book that takes a pragmatic approach. Examples are limited to what the case study requires but are also intended to resemble the context of a real software project. It is not an academic book, and as such the definitions made, the remarks made, and the recommendations are to be taken with caution. The reader is expected to examine these recommendations critically and pragmatically rather than dogmatically. After all, practicality beats purity.Chapter 1, Introduction, Code Formatting, and Tools, is an introduction to the main tools the reader needs to set up a development environment in Python. We cover the basics a Python developer is recommended to know to start working with the language effectively. It also includes some guidelines for maintaining readable code in the project, such as tools for static analysis, documentation, type checking, and code formatting. Having a common understanding of coding standards is a good thing but relying on good intentions only doesn’t scale. That’s why the chapter concludes by discussing tools to work more effectively. Chapter 2, Pythonic Code, looks at the first idioms in Python, which we will continue to use in the following chapters. We cover the particular features of Python, how they are meant to be used, and in this chapter, we start building knowledge around the idea that Pythonic code is in general of much better quality. Chapter 3, General Traits of Good Code, reviews general principles of software engineering making the focus on writing more maintainable code. With the knowledge gained from the previous chapter, we take a look at general clean design ideas, and how they can be implemented in Python.

admin

Share
Published by
admin

Recent Posts

Office 365 All-in-One For Dummies 1st edition

Pdf Book Name: Office 365 All-in-One For Dummies 1st edition Author: Peter Weverka Publisher: For…

6 days ago

Biology Laboratory Manual 12th Edition

Pdf Book Name: Biology Laboratory Manual 12th Edition Author: Darrell Vodopich (Author), Randy Moore (Author)…

1 week ago

Chemistry and Biology of Beta-Lactams

Pdf Book Name: Chemistry and Biology of Beta-Lactams Author: Publisher: ISBN-10, 13: Year: Pages: Pages…

2 weeks ago

Coyotes: biology, behavior, and management

Pdf Book Name: Coyotes: biology, behavior, and management Author: edited by Marc Bekoff ; contributors…

2 weeks ago

Design Thinking for Engineering: A practical guide

Pdf Book Name: Design Thinking for Engineering: A practical guide Author: Iñigo Cuiñas, Manuel J.…

2 weeks ago

Irrigation Engineering and Hydraulic Structures

Pdf Book Name: Irrigation Engineering and Hydraulic Structures Author: S. K. Ukarande Publisher: Springer-Ane Books,…

2 weeks ago