Published by abadidea

published

abadidea's Post

I'm currently something like seven layers deep trying to resolve what a C macro really actually does. I think it might be the first self-sustaining circular macro observed in the wild


Likes: 0
Boosts: 1
Hashtags:
Mentions:

Comments

Displaying 0 of 1 comments

Graham Sutherland / Polynomial

In response to this post

@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.


@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.

by Jacob Christian Munch-Andersen ;

@gsuberland @0xabad1dea still easier to track down than templates and inheritance …

by Aaron Sawdey, Ph.D. ;

Mentions: @0xabad1dea@infosec.exchange


Likes: 0

Replies: 2

Boosts: 0