Organize Core Functions by Purpose

Let’s examine the structure of our core.

Our initial architecture

Recall our initial data architecture:

  • We have quizzes made up of templates and questions.

  • Users answer questions with responses.

We designed our data by putting structs inside empty modules. That design will serve as a valuable foundation for our core, as shown in the figure:

Get hands-on with 1400+ tech skills courses.