Oh yeah oftentimes such macros are used to abstract things and make them easier. In practice though, they make reading code a total disaster and a nightmare
On Tue, Aug 18, 2026 at 4:26 PM George <[email protected]> wrote: > Hi All, I'm in the process of converting Zangband (1990s) over to Linux > with sound. Linux sound was a nightmare for a long time. Anyhoo, the > original portable conversion is in C. The preprocessor macros (#define > THIS, #ifndef THIS, etc.) are a convoluted nightmare. There's over 3000! > Most are just game constants, but a lot are system specifics for the > makefiles. I'm not a python guy, and don't get me started on Javascript, > but now I realize why all the youngins hate it so much. Even slow growth > eventually leads to bloat. I don't want to sound like conspiracy nutter; > but I'm seeing this progress bloat pattern everywhere; cars, laws, food, > girlfriends, private equity. I'm now just getting comfortable with C, I > don't want to have to learn RUST. -gbk >
