How to Make Mistakes in Python - Mike Pirnat
2017-01-01 #books #mike pirnat #python #review #it #stars:3 #published:2015GoodReads Summary: 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.
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 (sometimes, invalid code, but that's minor) and then a simple "don't do that".