3 ms·
Reading the kernel is relatively easy since some people worked hard on a structure, which is relatively clean. There are many macro C code bases with tons of f
by johannes1234321 6y ago
Reading the kernel is relatively easy since some people worked hard on a structure, which is relatively clean.
There are many macro C code bases with tons of function pointer fun (for example when doing OOP) where you have a hard time to find things, till you spent considerable time learning the choices made in that code base.
- nvarsj 6y agoYeah true, macro heavy code can be really difficult, as you can make your own metalanguage with macros. The ruby codebase is a lot like that, but I still find it pretty easy to read. But I can imagine someone going crazy with macros could really make it hard, but that's not the norm in my experience.