Deliver toUnited Arab Emirates
Clean Code in Python: Develop maintainable and efficient code, 2nd Edition

Description:

About this item:

Improve your software engineering practices to tackle inefficiencies, errors, and other perils that emerge due to bad code

Key Features

  • Enhance your coding skills to increase efficiency as well as reflect the new features introduced in Python 3.9
  • Understand how to apply microservices to your legacy systems by implementing practical techniques
  • Learn to implement the refactoring techniques and SOLID principles in Python

Book Description

The Python language is immensely prevalent in numerous areas, such as software construction, systems administration, and data processing. Experienced professionals in every field face the challenges of disorganization, poor readability, and low testability as a result of unstructured code.

With updated code and revised content aligned to the new features of Python 3.9, this second edition of Clean Code in Python will provide you with all the tools you need to overcome these obstacles and manage your projects successfully.

The book begins by describing the basic elements of writing clean code and how it plays a key role in Python programming. You will learn about writing efficient and readable code using the Python standard library and best practices for software design.

The book delves 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 problems by implementing software design patterns in your code. In the final chapter, we break down a monolithic application into a microservices based one starting from the code as the basis for a solid platform.

By the end of this clean code book, you will be proficient in applying industry-approved coding practices to design clean, sustainable, and readable real-world Python code.

What you will learn

  • Set up a productive development environment by leveraging automatic tools
  • Leverage the magic methods in Python to write better code, abstracting complexity away and encapsulating details
  • Create advanced object-oriented designs using unique features of Python, such as descriptors
  • Eliminate duplicated code by creating powerful abstractions using software engineering principles of object-oriented design
  • Create Python-specific solutions using decorators and descriptors
  • Refactor code effectively with the help of unit tests
  • Build the foundations for solid architecture with a clean code base as its cornerstone

Who this book is for

This book will appeal to team leads, software architects, and senior software engineers who want to learn Python coding techniques and work on their legacy systems to save cost and improve efficiency. The book assumes that you have a strong understanding of programming.

Table of 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. Generators, Iterators, and Asynchronous Programming
  8. Unit Testing and Refactoring
  9. Common Design Patterns
  10. Clean Architecture

About the Author

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.

Review:

4.5 out of 5

89.23% of customers are satisfied

5.0 out of 5 stars Read this book to be better using python

J. · 17 June 2021

(function() { P.when('cr-A', 'ready').execute(function(A) { if(typeof A.toggleExpanderAriaLabel === 'function') { A.toggleExpanderAriaLabel('review_text_read_more', 'Read more of this review', 'Read less of this review'); } }); })(); .review-text-read-more-expander:focus-visible { outline: 2px solid #2162a1; outline-offset: 2px; border-radius: 5px; } Well written with excellant examples. This book will help you be a better python developer. Not for a complete beginner

5.0 out of 5 stars Worthwhile

A.C. · 5 June 2021

Take it to the next leve

5.0 out of 5 stars Good Book! Recommend for Beginners

J.M. · 15 May 2021

Disclaimer: Packt sent me a copy of this book for the purposes of review. I was not paid for this review, nor have they asked me what to say.This is a great book for inexperienced developers looking to get into Python the right way. The author is knowledgable and introduces concepts in a very easy to understand manner. The book is definitely dense, however! I would recommend taking a first pass at this book, but leaving to on the desk as a reference text as you continue to learn.One of the things I really like about this book is that the author really focuses on teaching readers to write Python the way it was meant to be written. "Pythonic" code is one of those things that you need to see to understand what it is, but this book definitely gives a great demonstration of pythonic code. Part of writing Pythonic code is understanding context - and Mariano does a solid job of ensuring readers that there are contexts where practicality is more important than purity.Overall - whether you're new to programming, or you're already a programmer but looking to get into Python - give this book a go, I don't think you'll be disappointed.

4.0 out of 5 stars Yes there is a table of contents and index in the Kindle edition

C.O. · 1 February 2023

Just a point of information, to correct someone's earlier complaint. I bought the Kindle edition just now and it has a detailed table of contents that links you directly to the relevant sections, as well as a pretty detailed-looking index too.I almost didn't buy the Kindle edition, on account of the misleading review. So, maybe the review applied to an earlier edition (quite possible), in which case it should not appear for this edition.Dear readers, feel free to get the Kindle version. It's fine.

5.0 out of 5 stars Don't know what technical debt is? Then it's time to read this book

N.L. · 16 February 2021

I started writing code in 1982. Despite 40 years of coding I found so many examples of good advice in this book. It is all too easy as a programmer to write sloppy code. Code that has a poor structure, poorly documented and unbelievably hard to maintain, even by yourself. Sometimes a tight deadline persuades you that if it works, it's fine. In this book you learn that in the end clean code is best for everybody. You'll learn techniques to ensure you can pass your code on to another developer with your head held high. If you're in the business for the long run, then you owe it to yourself to read this book.In case you don't know what technical debt is - it's the implied cost of additional reworking of code caused by choosing a fast solution now instead of using a better approach that would take longer initially but provides more maintainable code.

5.0 out of 5 stars Exceptional book

S. · 19 February 2021

As someone who is getting back into Python after many years, this book is a Godsend. This is an extremely valuable and rigorous work which covers the best practices for writing clean code. As a developer I can't express how important clean code is when working in a team or when simply publishing code. This book thoroughly goes through every aspect you need to know about; formatting, documentation and tooling. Later topics such as Pythonic code and the best traits of good code are covered. This book fills me with confidence when approaching writing Python code and has really helped me. Also and vitally important; testing and design patterns are covered in detail. This book is really exceptional and highly recommended.

5.0 out of 5 stars Valuable resource on Python for software engineering practitioners

N.S. · 8 February 2021

This book is indeed a valuable resource for all software engineering practitioners who are interested in software design or learning more about Python. It can appeal well not just to beginners, but also to experienced software engineers. It gradually builds on from addressing the basics of Python, to advanced topics such as decorators, descriptors, and anintroduction to asynchronous programming. People who are involved in setting up projects from the ground up, in terms of tools and configuration of environments will find this book handy as it shares many good practices to release software. The focus is not just on solving problems with Python, it is on enabling the readers with a very pragmatic approach, helping them develop their critical thinking. This book does help in honing ideas and core software concepts.

3.0 out of 5 stars No table of contents or index in kindle edition

K.C. · 31 May 2021

Which is unforgiveable; at this stage I've not read much of the book (because of the lack of contents/index, at least in part). Three stars assumes that the _content_ is worth 5 stars. I will update later if I manage to find relevant content.In advance of carping comments - I think it very arrogant of an author to assume that you will read a non-fiction book from start to finish, which is what I assume is the reason for a lack of contents. A lack of index assumes something else - perhaps that you have eidetic memory?

Meh

J.H.G. · 7 November 2023

(function() { P.when('cr-A', 'ready').execute(function(A) { if(typeof A.toggleExpanderAriaLabel === 'function') { A.toggleExpanderAriaLabel('review_text_read_more', 'Read more of this review', 'Read less of this review'); } }); })(); .review-text-read-more-expander:focus-visible { outline: 2px solid #2162a1; outline-offset: 2px; border-radius: 5px; } Read better

Worth the money!

G.V. · 30 May 2023

Good print quality, good paper quality, and the contents are perfect for a mid to advanced python coders. Covers wide range of topics with examples.

Zu oberflächlich

O.N. · 7 June 2023

Das Buch ist zu oberflächlich geschrieben. Einfache Beispiele fehlen.

Must have book for each self-respecting Python Developer!

r. · 8 March 2022

As said in review title - really recommend this book.

Perfect!

A.C. · 16 November 2024

Can't get a better word than perfect!

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

4.6

AED37493

Type: Paperback

Quantity:

|

Order today to get by

Free delivery on orders over AED 200

Return and refund policies

Product origin: United Kingdom

All product information listed on the site are from 3rd party sources, including images and reviews. bolo.ae is not liable for any claims or promotions mentioned on the product description or images with textual content. For detailed product information, please contact the manufacturer or Bolo support by logging into your account. Unless stated otherwise during checkout, all import taxes and duty are included in the price mentioned on the product page. bolo.ae follows the rules and regulations of sale in United Arab Emirates and will cancel items in an order that are illegal for sale in United Arab Emirates. We take all the necessary steps to ensure only products for sale in United Arab Emirates are displayed. Product stock and delivery estimate may change with the seller even after placing the order. All items are shipped by air and items marked “Dangerous Goods (DG)” by the IATA will be cancelled from orders. We strive to process your order as soon as it is finalized.

Similar suggestions by Bolo

More from this brand

Similar items from “Functional Programming”