Sign up
Forgot password?
FAQ: Login

Pirnat Mike. How to Make Mistakes in Python

  • pdf file
  • size 1,80 MB
  • added by
  • info modified
Pirnat Mike. How to Make Mistakes in Python
First Edition. — O’Reilly Media, Inc., 2015. — 82 p.
Experienced programmer Mike Pirnat shares some of his most memorable blunders. By avoiding these missteps, you’ll be free to make truly significant mistakes — the ones that advance the art of programming.
Introduction
Setup

Polluting the System Python
Using the Default REPL
Silly Things
Forgetting to Return a Value
Misspellings
Mixing Up Def and Class
Style
Hungarian Notation
PEP-8 Violations
Bad Naming
Inscrutable Lambdas
Incomprehensible Comprehensions
Structure
Pathological If/Elif Blocks
Unnecessary Getters and Setters
Getting Wrapped Up in Decorators
Breaking the Law of Demeter
Overusing Private Attributes
God Objects and God Methods
  • Sign up or login using form at top of the page to download this file.
  • Sign up
Up