Title text: The prereqs for CPSC 357, the class on package management, are CPSC 432, CPSC 357, and glibc2.5 or later.
| This explanation may be incomplete or incorrect: this explain is still a horror for non programmers.|
If you can address this issue, please edit the page! Thanks.
One of the responsibilities of a compiler (a program that converts computer code to something the computer can actually read, as per 303: Compiling) is dependency resolution, the process of identifying what other components are necessary in order to construct a target component. Those other components may in turn may have their own requirements, all of which must also be satisfied.
On college campuses, course names indicate the department and level of a course. CPSC would be one way to express Computer Science classes, and course numbers in the 400 range would likely indicate a senior-level course.
The comic envisions a college computer science course (CPSC432) focusing on dependency resolution which has itself as a prerequisite. This dependency structure would send a naïve compiler into an infinite loop. In real life, the problem is solved by allowing an object to satisfy itself as a prerequisite. You see this, for example, every time you compile a recursive function.
The joke is that any student who successfully enrolls in the class already knows this solution because they must have employed it in order to get past the apparent infinite recursion in the class prerequisites.
Package management is a problem in software deployment similar to compiler dependency resolution, except that the dependencies are collections of files known as "packages".
The title text posits a course on package management which is dependent not only on itself (recursive dependency), but also on the course presented in the main comic, which has a higher course number. Package managers resolve self-dependencies in much the same way as compilers do, but a dependency from a lower-numbered package to a higher-numbered package is typically disallowed because it can create cycles in what is supposed to be a tree structure. glibc is a commonly-used package on Unix systems. Its inclusion as a course prerequisite blurs the line between the course material and the course itself.
- A portion of a page from an imaginary course catalog.
- Page 3
- [A table with four columns labeled Department, Course, Description, and Prereqs. Under 'Department' it reads, "computer science". Under 'course' it reads, "CPSC 432". Under 'Description' it reads, "Intermediate compiler design, with a focus on dependency resolution." Under 'Prereqs' it reads, "CPSC 432".]