Modular Design

Prerequisite: 101

Mentor

Course Materials

git.gnome.org

IRC

irc.gimp.net #gnome-university

This course will cover the basics of structuring code into modules of related utility. The student will learn how to separate code into multiple files and learn when it makes sense to do so.

Students will work through the following chapters and perform the exercises. Questions may be asked of the mentor as well as the community on IRC.

Topics

Feel free to add topics. These need to be organized into chapters.

  • What makes a "module"?
  • Separating code into multiple source files and headers.
  • Replacing an implementation of a module with another.
  • Course Project: State machine with difference states implemented in different files.
  • Course Project: Unit tests by mocking modules with alternate implementation.

Chapter 1

Chapter 2

Chapter 3

Chapter 4

Chapter 5

Chapter 6

Chapter 7

Chapter 8

Chapter 9

Chapter 10

Outreach/GnomeUniversity/C/ModularDesign (last edited 2013-12-04 18:14:59 by WilliamJonMcCann)