News for hackers. Stuff that matters.
Re:Moving the Linux Kernel to Modern C by midjji on Friday February 25, 2022 @03:01PM (#30471675)
You are making the rather optimistic assumption that here is a single definition of the macro. There are likely dozens, most of which share a name and randomly overwrite each other, others share the name but are subtly different. Macros are a truly terrible way to metaprogram. In my experience, if you spot one in a code base and can remove it, you have removed a bug you never knew you had, you spot one and change it, you have broken more things than you will ever know.

There are no comments on this comment yet.