
Effective Python
Brett Slatkin · 2015
Programming and computer science › Python
#1,251 most recommended
Hacker News
45
mentions by 33 people · top 8% of 15,732 books
Open Library
4.20★★★★★★★★★★
5 ratings · 28 want to read
Wikipedia
—
No article yet
About the book
Effective Python is a guide to writing idiomatic Python, organized as numbered items that each name a specific practice, show a short code example, and explain the reasoning behind it. Its scope covers core syntax, functions, classes and interfaces, built-in and standard library modules, concurrency, testing, debugging, and performance, and it is aimed at programmers who already know the language's basics. Its central claim is that Python has its own idioms, so code written in the style of another language tends to be harder to read and more error-prone than code that uses comprehensions, unpacking, enumerate, context managers, and similar features. It also warns against the opposite mistake, since advanced features such as metaclasses or clever tricks can create maintenance costs, so clarity and simplicity should take priority over maximal use of the language. Throughout, it holds that the built-in tools and standard library usually beat hand-rolled solutions, and that testing, debugging, and attention to pitfalls such as mutable default arguments and concurrency hazards are part of writing good Python.
Written by Claude from what it knows of this book.
What Hacker News says 67% recommend · 0% critical
In the commenters’ own words
It depends what you used to do with Python, really. There are a lot of users whose code didn't change from 2.x to 3.x except for the print "statements". I…
I'm with you that there can be an illusion of fluency, but I don't think that casts any doubt on the value of the article. Most people will read it and say…
What Open Library readers say 4.20 from 5 ratings
- 52
- 42
- 31
- 20
- 10
- 28 want to read
- 1 reading
- 7 have read
Only 5 ratings: treat the average as a hint.
What critics say, via Wikipedia
No Wikipedia article about this book yet, so no critics to quote.
Reddit communities — coming later
The threads it came up in
- Ask HN: Books you read in 2016?
- Ask HN: Do you recall any book or course that made a topic finally click?
- Ask HN: Name 3-5 books that had the most impact on your career and knowledge?
- Ask HN: Python Programming Books
- Ask HN: Which book would you recommend for learning Python in detail?
- Ask HN: Good books/courses to learn networking essentials for web developers?
- Ask HN: Advanced Python Coding Books
- Ask HN: What are the best Python books for non-programmers?
Details
- First published
- 2015
- ISBN
- 9780138172183
- Editions known
- 16 at Open Library
- Open Library
- OL17192267W
Computer programmingProgramación de computadorasProgrammeringProgramming LanguagesPython (Computer program language)Python (Lenguaje de programación para computadora)Python (programspråk)
Read next: its neighbours on the mosaic
Fluent PythonLuciano Ramalho · 2015 · recommended by 67 people · 9 people recommended both
CPython InternalsAnthony Shaw · 2021 · recommended by 6 people · 4 people recommended both
Python DistilledDavid M. Beazley · 2021 · recommended by 9 people · 2 people recommended both
Introducing PythonBill Lubanovic · 2013 · recommended by 4 people · similar by subject and what people say about it
Architecture Patterns with PythonHarry J.W. Percival · 2020 · recommended by 12 people · 2 people recommended both
Python CookbookAlex Martelli · 2002 · recommended by 17 people · named together in 3 comments
Learn Python the Hard WayZed Shaw · 2011 · recommended by 246 people · named together in 3 comments
High Performance PythonMicha Gorelick · 2014 · recommended by 8 people · similar by subject and what people say about it
Designing Data-Intensive ApplicationsMartin Kleppmann · 2017 · recommended by 457 people · 3 people recommended both
Gray hat PythonJustin Seitz · 2009 · recommended by 5 people · similar by subject and what people say about it
Python essential referenceDavid M. Beazley · 2000 · recommended by 14 people · similar by subject and what people say about it
Dive into PythonMark Pilgrim · 2004 · recommended by 94 people · similar by subject and what people say about it
The Pragmatic ProgrammerAndy Hunt · 1999 · recommended by 353 people · 2 people recommended both
Automate the Boring Stuff with PythonAl Sweigart · 2015 · recommended by 75 people · similar by subject and what people say about it
The C Programming LanguageBrian W. Kernighan · 1978 · recommended by 246 people · 2 people recommended both
Programming interviews exposedJohn Mongan · 2007 · recommended by 29 people · similar by subject and what people say about it
Show Your Work!Austin Kleon · 2014 · recommended by 4 people · similar by subject and what people say about it
Think ComplexityAllen B. Downey · 2012 · recommended by 11 people · similar by subject and what people say about it
The Hitchhiker’s Guide To PythonKenneth Reitz · 2016 · recommended by 26 people · similar by subject and what people say about it
Think BayesAllen B. Downey · 2013 · recommended by 37 people · similar by subject and what people say about it
How to Design ProgramsMatthias Felleisen · 2001 · recommended by 277 people · similar by subject and what people say about it
The Go Programming LanguageAlan A. A. Donovan · 2015 · recommended by 40 people · similar by subject and what people say about it
A Philosophy of Software DesignJohn K. Ousterhout · 2018 · recommended by 163 people · similar by subject and what people say about it
Pragmatic Thinking and LearningAndy Hunt · 2008 · recommended by 46 people · similar by subject and what people say about it