(?)
Quotes are added by the Goodreads community and are not verified by Goodreads. (Learn more)

“Cohesion: each function should have a single, unified purpose. When designed well, each of your functions should do one thing — something you can summarize in a simple declarative sentence. If that sentence is very broad (e.g., “this function implements my whole program”), or contains lots of conjunctions (e.g., “this function gives employee raises and submits a pizza order”), you might want to think about splitting it into separate and simpler functions.”

Mark Lutz, Learning Python: Powerful Object-Oriented Programming
Read more quotes from Mark Lutz


Share this quote:
Share on Twitter

Friends Who Liked This Quote

To see what your friends thought of this quote, please sign up!

0 likes
All Members Who Liked This Quote

None yet!


This Quote Is From

Learning Python: Powerful Object-Oriented Programming Learning Python: Powerful Object-Oriented Programming by Mark Lutz
3,191 ratings, average rating, 177 reviews

Browse By Tag