News for hackers. Stuff that matters.
Re:Learning that you can use unions in C for grouping things... by WalterBright on Sunday August 01, 2021 @06:59PM (#28031018)
> Macros are useful, as long as they're used sparingly.

Everybody says that. Everybody believes it. And everybody goes to town making a rat's nest with macros, just like that snarl of cables under my desk that resist all attempts to make it nice.

Myself included. I've even written an article about clever C macros. Look, ma! I was so proud of myself.

But then I got older. I started replacing the macros in my C code with regular code. It turns out they weren't that necessary at all. I liked the C code a lot better when it didn't have a single # in it other than #include.

There are no comments on this comment yet.