Composing a Quiz from Functions
Let’s learn how to write clean and understandable functions.
Writing simplistic functions
Every program is a conversation. As programmers, our first job is to be understood. Whether we’re communicating to our future teammates or our future selves, the goals should be the same. This lesson is about writing functions that are easier to understand. Though getting better at this critical skill is a lifelong pursuit, adding specific tools to our tool belt will improve our readability immediately if we’re not already using them.
Building well-named functions
If a program is a story, functions represent the verbs, a critical part of our vocabulary. Our function arguments are nouns:
Get hands-on with 1400+ tech skills courses.