Go and Like this Post IMMEDIATELY!
@tsoding121K followers
104,098 views
19 Comments
Comments from the original post on X (Twitter)

@vkrajacic
Haha, well, I'm glad you found something useful from me, it's usually the other way around. I don't use it too often TBH, only in places where it will actually save me a lot of typing and I know I'll be using that function a lot. But yeah, designated initializers are the single most useful construct in C. They’re awesome. I mentioned this exact technique in my BSC talk btw.
110 likes

@tsoding
Oh yeah, I had this video in "to watch" list for awhile already. Thank you for reminding me!
39 likes

@JustSlavic
This is actually cool !!! And I was using the # define GET_MACRO(_1, _2, _3,x,...) x # define FOO(...) GET_MACRO(__VA_ARGS__, FOO3,FOO2,FOO1)(__VA_ARGS__) boolshit from "The Preprocessor Iceberg Meme"........
6 likes

@guywald
I liked your post, am I doing it right?
5 likes

@tsoding
A bit confused, but you get the spirit! 👍
9 likes

@joseph_h_garvin
What people will resort to instead of getting the standards committee to accept something
4 likes

@horryportier
honestly had to look at it 3 times to understands whats happening
3 likes

@Kknewkles
C is the StarCraft:Broodwar of programming languages. People keep coming up with cool new tricks :D
1 like

@soy_capo
Python is finding its way into C. 🤣
1 like

@tmuxvim
seriously what's with the floodlight
1 like

@iammteah
appreciated

@BossPrince6
Please, I want to learn, how do I start?

@ReiLokoFn
wtf is this twitter skin? i liked it

@pretendsatoshi
I tried

@Chesstras
use C++ instead. change the extention to .cpp

@voxelbased
bro we're all generating code with LLMs we don't write the code, we write high level rules for what code should look like

@tsoding
You just confirmed what I said in the video. Thank you! :)
22 likes

@voxelbased
lol I understand your position, and granted C is some of the highest density code you can have, but it still compiles to assembly indulge me for a second the alternate reality where you have a cousin that is not a great coder, especially not as good as you, but somehow knows exactly what you like your code to look like. he never gets tired, but has no will to do anything. would you leverage that idle manpower?

@rustbyte
Y..YE...YES MASTER!