paint-brush
Write Better Python Functionsby@jeffknupp
6,273 reads
6,273 reads

Write Better Python Functions

by Jeff Knupp11mOctober 11th, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

In <a href="https://hackernoon.com/tagged/python" target="_blank">Python</a>, like most modern <a href="https://hackernoon.com/tagged/programming" target="_blank">programming</a> languages, the <em>function</em> is a primary method of abstraction and encapsulation. You’ve probably written hundreds of functions in your time as a developer. But not all functions are created equal. And writing “bad” functions directly affects the readability and maintainability of your code. So what, then, is a “bad” function and, more importantly, what makes a “good” function?

People Mentioned

Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - Write Better Python Functions
Jeff Knupp HackerNoon profile picture
Jeff Knupp

Jeff Knupp

@jeffknupp

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite