July 2022
Intermediate to advanced
304 pages
7h 6m
English
So far we’ve been working with small, simple one-file programs, which is fine if all you’re going to do is write sample programs for a book. In the real world, however, you’re probably going to encounter programs with more than 50 lines in them.
The Linux kernel has 33,000 files and 28 million lines of code (and those numbers are increasing as you are reading this). You can’t deal with that amount of information without organizing it by dividing up the code into modules.
A module ideally is a single file containing a collection of data and functions that does one thing well with minimum interaction with other modules. ...
Read now
Unlock full access