Compose a Quiz from Functions

Every program is a conversation; as programmers, our first job is to be understood. Whether you’re communicating to your future teammate or future you, the goals should be the same. This section is about writing functions that are easier to understand. Though getting better at this critical skill is a lifelong pursuit, adding certain tools to your tool belt where you can use them daily will improve your readability immediately, if you’re not already using them.

Hopefully, we’ll give terminology and voice to concepts you’ve already experienced. Over the next few sections, watch for some important concepts as we write code. We will choose function names to fully communicate core concepts. Those well-named functions ...

Get Designing Elixir Systems With OTP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.