Clean Code in Python: Refactor your legacy code base


Clean Code in Python: Refactor your legacy code base
Authors: Mariano Anaya
ISBN-10 书号: 1788835832
ISBN-13 书号: 9781788835831
Publisher Finelybook 出版日期: 2018-08-29
pages 页数: 332 pages


Book Description
Python is currently used in many different areas such as software construction,systems administration,and data processing.
In all of these areas,experienced professionals can find examples of inefficiency,problems,and other perils,as a result of bad code. After reading this book,readers will understand these problems,and more importantly,how to correct them.
The book begins by describing the basic elements of writing clean code and how it plays an important role in Python programming. You will learn about writing efficient and readable code using the Python standard library and best practices for software design. You will learn to implement the SOLID principles in Python and use decorators to improve your code. The book delves more deeply into object oriented programming in Python and shows you how to use objects with descriptors and generators. It will also show you the design principles of software testing and how to resolve software problems by implementing design patterns in your code. In the final chapter we break down a monolithic application to a microservice one,starting from the code as the basis for a solid platform.
By the end of the book,you will be proficient in applying industry approved coding practices to design clean,sustainable and readable Python code.
Contents
1: INTRODUCTION,CODE FORMATTING,AND TOOLS
2: PYTHONIC CODE
3: GENERAL TRAITS OF GOOD CODE
4: THE SOLID PRINCIPLES
5: USING DECORATORS TO IMPROVE OUR CODE
6: GETTING MORE OUT OF OUR OBJECTS WITH DESCRIPTORS
7: USING GENERATORS
8: UNIT TESTING AND REFACTORING
9: COMMON DESIGN PATTERNS
10: CLEAN ARCHITECTURE

What you will learn
Set up tools to effectively work in a development environment
Explore how the magic methods of Python can help us write better code
Examine the traits of Python to create advanced object-oriented design
Understand removal of duplicated code using decorators and descriptors
Effectively refactor code with the help of unit tests
Learn to implement the SOLID principles in Python
Authors
Mariano Anaya
Mariano Anaya is a software engineer who spends most of his time creating software with Python and mentoring fellow programmers. Mariano's main areas of interests besides Python are software architecture,functional programming,distributed systems,and speaking at conferences. He was a speaker at Euro Python 2016 and 2017. To know more about him,you can refer to his GitHub account with the username rmariano. His speakerdeck username is rmariano

下载地址 Download
打赏
未经允许不得转载:finelybook » Clean Code in Python: Refactor your legacy code base

相关推荐

  • 暂无文章

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫打赏

微信扫一扫打赏