Goodreads helps you keep track of books you want to read.
Start by marking “How to Make Mistakes in Python” as Want to Read:
How to Make Mistakes in Python
Enlarge cover
Rate this book
Clear rating
Open Preview

How to Make Mistakes in Python

3.45  ·  Rating details ·  85 ratings  ·  19 reviews
Even the best programmers make mistakes, and experienced programmer Mike Pirnat has made his share during 15+ years with Python. Some have been simple and silly; others were embarrassing and downright costly. In this O’Reilly report, he dissects some of his most memorable blunders, peeling them back layer-by-layer to reveal just what went wrong.
ebook, 154 pages
Published October 2015 by O'Reilly (first published 2015)
More Details... Edit Details

Friend Reviews

To see what your friends thought of this book, please sign up.

Reader Q&A

To ask other readers questions about How to Make Mistakes in Python, please sign up.

Be the first to ask a question about How to Make Mistakes in Python

Community Reviews

Showing 1-30
Average rating 3.45  · 
Rating details
 ·  85 ratings  ·  19 reviews

More filters
Sort order
Start your review of How to Make Mistakes in Python
Petr Kopač
Jan 11, 2016 rated it it was amazing
Shelves: english
It's fun to read and there are some good notions of how not to write in python (or well, any language). ...more
Steve Clark
Dec 10, 2015 rated it really liked it
A short read, but some good general types on avoiding issues with Python programming
Jun 14, 2017 rated it it was amazing
I like this book a lot. As Python beginner (but Java experienced) I learned a lot of mistakes I will definitely meet. From coding style to structures, methods, finding errors. Every pitfall has a recomendation how to avoid it. I like the friendly style of this book.

Stare deeply into a line of code like SBD=J(D(H),SB) and it’s like gazing into the abyss.

If people on your team really like to import * and you’re having a hard time convincing them that it’s a bad idea, just slip this little
Oct 29, 2016 rated it liked it
Ну таке. Скоріш тягне на пост для блога, може на два, ніж на цілу книгу.
Oct 27, 2018 rated it really liked it
Good position for beginner , you'll get some precious tips about what you should avoid in Python. Book is written in a friendly manner so it won't take you too much time to read it. You can easily add it to your to do list without sacrificing too much time. ...more
Vlad Bezden
Jun 27, 2017 rated it it was amazing
Whole book is about Python best practices and tips.
Jul 21, 2017 rated it really liked it
Shelves: tech-books
This book did nothing to help my snake breeding side business. However, my programming work now is much cleaner.
Jun 28, 2019 rated it really liked it
Shelves: technical
Some sage advice wrapped up in a small time investment. I strongly recommend this one.
Jason McDonald
Oct 22, 2018 rated it it was amazing
A brief, hilarious whirlwind tour of the author's own personal dumbest coding mistakes. A must read for every Python developer. ...more
Apr 11, 2016 rated it really liked it
Thanks to Sebastian Raschka's review I found out about this (link), a short book detailing some of the things that can go wrong in the life of a regular Python programmer according to the book's author. It starts with "these are the things that you should do (use Ipython/Jupyter, use virtualenv etc.) and then goes to all the things that went wrong in the author's lifeexperience with Python - forgetting to return values at the end of functions, weird monkeypatching that always goes wrong in a wei ...more
Julio Biason
Jan 02, 2017 rated it liked it
For anyone that works with Python for some time, most of the content of this book is "Hahaha, yeah, I did that too. The good old bad times." And, surely enough, you can't hold yourself nodding when the author mentions that you shouldn't do that.

I felt it lacked a bit of "this is the right way of doing it", like Uncle Bob did with Clean Code: A Handbook of Agile Software Craftsmanship, where he picks a code and starts refactoring till it gets "correct". Most of the time, it's a bunch of code (som
Nov 04, 2016 rated it really liked it
An entertaining, and humbling look into mistakes, and anti-patterns that we all make. Pirnat goes over how to avoid such mistakes, why, and more importantly, and something everyone else seems to ignore, why we make those mistakes in the first place, and why they feel so good.

Recommend it to any Python developer for its humbleness, and accessibility.
Gábor László Hajba
Nov 25, 2016 rated it it was amazing
Shelves: computer-science
Everyone makes mistakes. One learn from their own, others from mistakes done by others. This book is great if you want to see what mistakes a seasoned developer can make and made already.

This book is a reflection on past mistakes which happen to everyone so better be careful with your code: use this as some guide along the road.
Alex Fürstenau
Mar 27, 2016 rated it really liked it
It's a nice and short book. He communicates, like everybody should, via stories. His stories are illustrated via real code examples. All this together makes a fine combination although I don't agree with everything he is saying. ...more
Nov 04, 2016 rated it it was ok
2 start is not that bad, Goodread says: "it was ok". So another book that is useless for advanced python programmers. But if you are beginning to explore, i recommend you read it. `False, True = True, False` is quite a thing! ...more
Emad Mokhtar
Apr 12, 2016 rated it it was amazing
It is a light weight book about developer's lesson learned during Python development career, nice and informative. ...more
Mohammad Laif
Apr 28, 2016 rated it really liked it
Shelves: dev
The author talk about his beginner mistakes, when he start programming in python. And teach you how to not repeat his stupid mistakes, by given you some tips from his experience.
Dec 20, 2016 rated it liked it
It is useless, but fun to read.
Jan 07, 2017 rated it it was ok
The content would make a great conference presentation or a blog post. Too short for a book.
rated it really liked it
Apr 16, 2017
Jordan Siaw
rated it it was ok
Oct 07, 2017
Subhajit Das
rated it liked it
Nov 30, 2019
Dovydas Ceilutka
rated it liked it
Sep 20, 2018
rated it did not like it
May 14, 2018
rated it liked it
Jan 26, 2018
rated it liked it
Jan 29, 2018
Tovin Seven
rated it liked it
Apr 06, 2018
rated it liked it
Sep 19, 2018
rated it liked it
Feb 01, 2020
« previous 1 3 next »
There are no discussion topics on this book yet. Be the first to start one »

Readers also enjoyed

  • 20 Python Libraries You Aren't Using (But Should)
  • A Whirlwind Tour of Python
  • Hadoop with Python
  • Head First Statistics
  • Python in Education
  • The Tower of the Swallow (The Witcher, #4)
  • Python Data Science Handbook: Tools and Techniques for Developers
  • Python Tricks: A Buffet of Awesome Python Features
  • Functional Programming in Python
  • Statistics Done Wrong: The Woefully Complete Guide
  • Truths For the Anxious Christian: 31 Soul-Soothing Devotions
  • Örneklerle Kolay Ekonomi
  • Blindness (Blindness, #1)
  • Deep Learning in Python: Master Data Science and Machine Learning with Modern Neural Networks written in Python, Theano, and TensorFlow (Machine Learning in Python)
  • Knife (Harry Hole, #12)
  • Chariots of The Gods
  • Before Adam
  • The Hidden Girl and Other Stories
See similar books…

Goodreads is hiring!

If you like books and love to build cool products, we may be looking for you.
Learn more »
Mike Pirnat counterpoints the surrealism of the underlying metaphor.

News & Interviews

Why not focus on some serious family drama? Not yours, of course, but a fictional family whose story you can follow through the generations of...
143 likes · 54 comments