News for hackers. Stuff that matters.
Re:ZPL: (Almost) C99 Powerkit by keldaris on Saturday March 20, 2021 @03:18PM (#26525383)
> There's surely no excuse for this

The "excuse" is greppability since static has three completely different meanings in C and the desire to clearly denote global variables is fairly common. The same reasoning goes for the cast define as well.

Whether you find value in these small abuses of the preprocessor depends on your coding habits, but I don't really see much reason to criticize them. If the author finds them helpful, what's the harm? There isn't much room for confusion and they're not forced on the users of the library.

There are no comments on this comment yet.