Effective Python: 90 Specific Ways to Write Better Python, 2/e (Paperback)
暫譯: 有效的 Python:90 種具體方法提升 Python 程式碼品質,第二版 (平裝本)
Slatkin, Brett
- 出版商: Addison Wesley
- 出版日期: 2019-11-15
- 定價: $2,450
- 售價: 9.0 折 $2,205
- 語言: 英文
- 頁數: 480
- 裝訂: Paperback
- ISBN: 0134853989
- ISBN-13: 9780134853987
-
相關分類:
Python、程式語言
-
相關翻譯:
Effective Python 中文版|寫出良好 Python 程式的 90個具體做法, 2/e (Effective Python: 90 Specific Ways to Write Better Python, 2/e) (繁中版)
Effective Python:編寫高質量 Python 代碼的 90個有效方法, 2/e (簡中版)
銷售排行:
🥈 2020/2 英文書 銷售排行 第 2 名
立即出貨(限量) (庫存=3)
買這商品的人也買了...
-
$1,330Business Model Generation: A Handbook for Visionaries, Game Changers, and Challengers (Paperback)
-
$1,715Introduction to Algorithms, 3/e (Hardcover)
-
$2,220$2,109 -
$352深入理解 SVG
-
$500$390 -
$1,340$1,273 -
$580$452 -
$2,700$2,565 -
$480$379 -
$556HTML 5 與 CSS 3 權威指南 (第4版·上冊)
-
$680$578 -
$1,880$1,786 -
$305Python 游戲設計案例實戰
-
$356從0到1 HTML5+CSS3修煉之道
-
$607HTML5+CSS3+JavaScript案例實戰
-
$1,840Architecture Patterns with Python: Enabling Test-Driven Development, Domain-Driven Design, and Event-Driven Microservices
-
$403Web 前端開發精品課 : HTML5 Canvas 開發詳解
-
$580$383 -
$2,429Practical Statistics for Data Scientists: 50+ Essential Concepts Using R and Python, 2/e (Paperback)
-
$2,024Introducing Mlops: How to Scale Machine Learning in the Enterprise
-
$780$616 -
$980$774 -
$1,850$1,758 -
$2,030$1,929 -
$780$616
相關主題
商品描述
Updated and Expanded for Python 3
It’s easy to start developing programs with Python, which is why the language is so popular. However, Python’s unique strengths, charms, and expressiveness can be hard to grasp, and there are hidden pitfalls that can easily trip you up.
This second edition of Effective Python will help you master a truly “Pythonic” approach to programming, harnessing Python’s full power to write exceptionally robust and well-performing code. Using the concise, scenario-driven style pioneered in Scott Meyers’ best-selling Effective C++, Brett Slatkin brings together 90 Python best practices, tips, and shortcuts, and explains them with realistic code examples so that you can embrace Python with confidence.
Drawing on years of experience building Python infrastructure at Google, Slatkin uncovers little-known quirks and idioms that powerfully impact code behavior and performance. You’ll understand the best way to accomplish key tasks so you can write code that’s easier to understand, maintain, and improve. In addition to even more advice, this new edition substantially revises all items from the first edition to reflect how best practices have evolved.
Key features include
- 30 new actionable guidelines for all major areas of Python
- Detailed explanations and examples of statements, expressions, and built-in types
- Best practices for writing functions that clarify intention, promote reuse, and avoid bugs
- Better techniques and idioms for using comprehensions and generator functions
- Coverage of how to accurately express behaviors with classes and interfaces
- Guidance on how to avoid pitfalls with metaclasses and dynamic attributes
- More efficient and clear approaches to concurrency and parallelism
- Solutions for optimizing and hardening to maximize performance and quality
- Techniques and built-in modules that aid in debugging and testing
- Tools and best practices for collaborative development
Effective Python will prepare growing programmers to make a big impact using Python.
商品描述(中文翻譯)
針對 Python 3 更新與擴充
使用 Python 開發程式非常容易,這也是這門語言如此受歡迎的原因。然而,Python 獨特的優勢、魅力和表達能力可能難以掌握,並且存在一些隱藏的陷阱,容易讓你跌入困境。
這本Effective Python的第二版將幫助你掌握真正的「Pythonic」編程方法,充分利用 Python 的力量來編寫異常穩健且性能優良的代碼。Brett Slatkin 採用 Scott Meyers 的暢銷書Effective C++所開創的簡潔、情境驅動風格,匯集了 90 條 Python 最佳實踐、提示和捷徑,並用現實的代碼範例進行解釋,讓你能夠自信地使用 Python。
Slatkin 利用在 Google 建立 Python 基礎設施的多年經驗,揭示了那些鮮為人知的特性和慣用語,這些特性和慣用語對代碼的行為和性能有著強大的影響。你將了解完成關鍵任務的最佳方法,從而編寫出更易於理解、維護和改進的代碼。除了更多的建議外,這個新版本對第一版的所有內容進行了大幅修訂,以反映最佳實踐的演變。
主要特點包括:
- 針對 Python 所有主要領域的 30 條新可行指導方針
- 對語句、表達式和內建類型的詳細解釋和範例
- 編寫函數的最佳實踐,以明確意圖、促進重用並避免錯誤
- 使用推導式和生成器函數的更好技術和慣用語
- 準確表達行為的類別和介面的覆蓋
- 避免元類和動態屬性陷阱的指導
- 更有效且清晰的並發和並行處理方法
- 優化和加固以最大化性能和質量的解決方案
- 有助於調試和測試的技術和內建模組
- 協作開發的工具和最佳實踐
Effective Python將為成長中的程式設計師做好準備,讓他們能夠使用 Python 產生重大影響。