Topological; either define a function before all of its callers (bottom-up) or before all of its callees (top-down). Also, everything but index_course should really be internal to the class (start with an underscore).