Tags
Language
Tags
May 2024
Su Mo Tu We Th Fr Sa
28 29 30 1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31 1

David Mertz - Better Python Code: A Guide for Aspiring Experts (Early Release)

Posted By: Bibliotkaaa
David Mertz - Better Python Code: A Guide for Aspiring Experts (Early Release)

David Mertz - Better Python Code: A Guide for Aspiring Experts (Early Release)
English | ISBN: 0138320993 | 240 pages | EPUB | 2023 | 3.15 MB

Python is one of the most widely used programming languages in the world. It is used everywhere from primary school education to workaday web development, to the most advanced scientific research institutes of the world. However, like all programming languages, Python has a collection of "Pythonic" ways of accomplishing tasks that are easy to overlook, especially when habits are borrowed wholesale from work in other programming languages.

Better Python Code is a guide to Pythonic programming. The book presents common mistakes that Python developers make–even Python developers who have used the language for years–often because Python sometimes presents "attractive nuisances." Throughout, the book is a guide to better programming in the core Python language.

Each section shows a concrete but concise example of some misunderstanding or bad habit in action. Each section contains a description of what is wrong with the sample code and a suggestion for one or more better ways to code equivalent functionality without the initial pitfall. Every pitfall addressed in this book reflects foibles, errors, and misunderstandings that the author as seen in concrete, widely used code bases written by experienced developers, over his 25 years of writing Python.

Both beginners and developers with decades of experience will learn to correct limitations in the code they write after reflecting on these discussions.