Effective Python: 90 Specific Ways to Write Better Python, 2nd Edition

该资源由用户: 思彤酱 上传  举报不良内容

Updated and Expanded for Python 3It’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 include30 new actionable guidelines for all major areas of PythonDetailed explanations and examples of statements, expressions, and built-in typesBest practices for writing functions that clarify intention, promote reuse, and avoid bugsBetter techniques and idioms for using comprehensions and generator functionsCoverage of how to accurately express behaviors with classes and interfacesGuidance on how to avoid pitfalls with metaclasses and dynamic attributesMore efficient and clear approaches to concurrency and parallelismSolutions for optimizing and hardening to maximize performance and qualityTechniques and built-in modules that aid in debugging and testingTools and best practices for collaborative developmentEffective Python will prepare growing programmers to make a big impact using Python.

如果您对该资源产生疑虑,欢迎您 点击此处 举报不良内容。 希望我们能共建一个文明社区!感谢您的合作与支持!

扫一扫即可关注本站(PDF之家)微信公众账号
发送您想要找的书籍名称即可找到书籍

Image

本站为非盈利性网站, 但服务器成本高昂, 如果本站内容对您有帮助, 欢迎捐赠, 您的鼓励是我们最大的动力!

大小: 31.4 MB
格式: PDF

声明

本站资源来源于网络及个人用户网盘上传,仅用于分享知识,学习和交流! 本站不保存,不制作,不出售任何图书。请您下载完在24小时内删除。 资源禁用于商业用途!如果您喜欢本站资源,请购买正版,谢谢合作!

标签

Python Effective 90 Specific Ways Write Better 2nd Edition

扫码支持一下:

Image Image

猜你喜欢

Effective Python: 90 Specific Ways to Write Better Python, 2nd Edition

请输入验证码: