4 ms·
> so they (C macros) are pointless except for a few trivial things Oh, believe me, they are NOT.
by nialv7 8y ago
> so they (C macros) are pointless except for a few trivial things
Oh, believe me, they are NOT.
- jedimastert 8y agoRight? This seems a little obnoxious. I could totally see doing all of the things he talked about with C macros. But whatever.
- hw_penfold 8y agohttps://en.wikipedia.org/wiki/Greenspun%27s_tenth_rule https://en.wikipedia.org/wiki/Greenspun%27s_tenth_rule
- ChrisSD 8y agoSince C macros are glorified copy/paste, you can do anything with C macros... which was the point, I think.
- KingMob 8y ago??? Not sure what you're getting at. You can't actually use the language itself from inside a C macro, like you could a Lisp.
- deleted 8y ago[deleted]