Know a great AI tool or AI news source? Submit it to AiByts

Second Edition

5 stories

Stories

  • Item 10: Prevent Repetition with Assignment Expressions

    An assignment expression—also known as the walrus operator—is a new syntax introduced in Python 3.8 to solve a long-standing problem with the language that can cause code duplication.

    Effective Python: 90 Specific Ways to Write Better Python by Brett Slatkin Blog8 min read
  • Item 51: Prefer Class Decorators Over Metaclasses for Composable Class Extensions

    Although metaclasses allow you to customize class creation in multiple ways (see Item 48: “Validate Subclasses with __init_subclass__” and Item 49: “Register Class Existence with __init_subclass__”), they still fall short of handling every situation that may arise.

    Effective Python: 90 Specific Ways to Write Better Python by Brett Slatkin Blog5 min read
  • Digital Versions of the 2nd Edition are Now Available

    You can immediately read the second edition of Effective Python as a DRM-free eBook, on Kindle, on Google Play, and on O’Reilly Online Learning.

    Effective Python: 90 Specific Ways to Write Better Python by Brett Slatkin Blog1 min read
  • Item 74: Consider memoryview and bytearray for Zero-Copy Interactions with bytes

    Though Python isn’t able to parallelize CPU-bound computation without extra effort (see Item 64: “Consider concurrent.futures for True Parallelism”), it is able to support high-throughput, parallel I/O in a variety of ways (see Item 53: “Use Threads for Blocking I/O, Avoid for Parallelism” and Item…

    Effective Python: 90 Specific Ways to Write Better Python by Brett Slatkin Blog8 min read
  • Preorder the Second Edition

    Effective Python: Second Edition is now available for preorder. Follow this link to buy your copy in advance. It will ship in mid-November (2019) once the book has finished printing and is stocked in the warehouse. Digital editions will become available when the physical book ships or sooner.

    Effective Python: 90 Specific Ways to Write Better Python by Brett Slatkin Blog1 min read

Showing 5 of 5 stories

You're all caught up.

AiByts Weekly Brief

Get the top AI news and tools straight to your inbox every week.

Weekly · AI news

Join 15,000+ AI enthusiasts