Effective Python: 59 Specific Ways to Write Better Python
โ Scribed by Brett Slatkin
- Publisher
- Addison-Wesley
- Year
- 2015
- Tongue
- English
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
Its easy to start writing code with Python: thats why the language is so immensely popular. However, Python has unique strengths, charms, and expressivity that can be hard to grasp at first -- as well as hidden pitfalls that can easily trip you up if you arent aware of them. Effective Python will help you harness the full power of Python to write exceptionally robust, efficient, maintainable, and well-performing code. Utilizing the concise, scenario-driven style pioneered in Scott Meyerss best-selling Effective C++, Brett Slatkin brings together 59 Python best practices, tips, shortcuts, and realistic code examples from expert programmers.
Through realistic examples, Slatkin uncovers little-known Python quirks, intricacies, and idioms that powerfully impact code behavior and performance. Youll learn how to choose the most efficient and effective way to accomplish key tasks when multiple options exist, and how to write code thats easier to understand, maintain, and improve.
Drawing on his deep understanding of Pythons capabilities, Slatkin offers practical advice for each major area of development with both Python 3.x and Python 2.x. Coverage includes:
Algorithms
Objects
Concurrency
Collaboration
Built-in modules
Production techniques
And more
Each section contains specific, actionable guidelines organized into items, each with carefully worded advice supported by detailed technical arguments and illuminating examples. Using Effective Python, you can systematically improve all the Python code you write: not by blindly following rules or mimicking incomprehensible idioms, but by gaining a deep understanding of the technical reasons why they make sense.
๐ SIMILAR VOLUMES
"Each item in Slatkin's Effective Python teaches a self-contained lesson with its own source code. This makes the book random-access: Items are easy to browse and study in whatever order the reader needs. I will be recommending Effective Python to students as an admirably compact source of mainstrea
"Each item in Slatkin's Effective Python teaches a self-contained lesson with its own source code. This makes the book random-access: Items are easy to browse and study in whatever order the reader needs. I will be recommending Effective Python to students as an admirably compact source of mainstrea
It's easy to start writing code with Python: that's why the language is so immensely popular. However, Python has unique strengths, charms, and expressivity that can be hard to grasp at first -- as well as hidden pitfalls that can easily trip you up if you aren't aware of them. Effective Python will
<span><div><p><b>Updated and Expanded for Python 3</b></p><p>Its easy to start developing programs with Python, which is why the language is so popular. However, Pythons unique strengths, charms, and expressiveness can be hard to grasp, and there are hidden pitfalls that can easily trip you up.</p><