@0xabad1dea I love preprocessor macros in principle but wow do they get super annoying to track down when you're reading someone else's codebase.
Graham Sutherland / Polynomial's Post
In Reply To: this post
Likes: 0
Boosts: 0
Hashtags:
Mentions:
@0xabad1dea@infosec.exchange
Comments
Displaying 0 of 2 comments
Jacob Christian Munch-Andersen
@gsuberland @0xabad1dea The problem is that macros are mostly used as band-aids for things that C really should do natively but can't. My C code is plastered with macros, but I don't think I have ever written one that couldn't reasonably have been replaced with functionality already present in other languages.
Mentions: @gsuberland@chaos.social @0xabad1dea@infosec.exchange
Likes: 0
Replies: 0
Boosts: 0
Aaron Sawdey, Ph.D.
@gsuberland @0xabad1dea still easier to track down than templates and inheritance …
Mentions: @gsuberland@chaos.social @0xabad1dea@infosec.exchange
Likes: 0
Replies: 0
Boosts: 0