RC RANDOM CHAOS

Bruce Eckel Releases 'Thinking in Python' as a Free Online Book

· via Hacker News

Original source

Thinking in Python

Hacker News →

The page is the landing/table-of-contents for ‘Thinking in Python,’ a new online book by Bruce Eckel, author of the long-running ‘Thinking in Java’ and ‘Thinking in C++’ titles. Rather than an article, the source is a chapter index laying out the book’s scope: 47 chapters organized into five parts — Foundations (the language tour, containers, control flow, functions, modules, classes, static typing, cleanup), Techniques (testing, data classes, pattern matching, decorators, context managers, comprehensions, metaprogramming, performance, concurrency), Patterns (a deep design-patterns catalog from iterators and singletons to visitors, flyweights, and pattern refactoring), Functional Programming, and Effects (effect management, generators, and statelessness).

The framing carries Eckel’s signature emphasis on idioms and design thinking over rote syntax, extending his pattern-heavy approach to modern Python, including static typing and concurrency. The book is freely readable online but licensed CC BY-NC-ND 4.0 (2026), meaning no reproduction or derivative works are permitted despite open access.

There’s no substantive prose on the page itself to summarize beyond the structure, so the significance here is the release event: a well-known programming author publishing a comprehensive, free Python reference aimed at developers who already know how to code and want to write idiomatic, well-designed Python.

Read the full article

Continue reading at Hacker News →

This is an AI-generated summary. Read the original for the full story.