groctel
@groctel@lemmy.world
This is a remote user, information on this page may be incomplete. View at Source ↗
- Comment on proportional reaction 1 day ago:
I have bad news for you
- Comment on proportional reaction 2 days ago:
At my previous workplace we had a C macro that was something like
#define CheckWhatever(x__, true__, false__) \ whatever(x) ? (true__) : (false__)
I don’t remember this shit, so I’m just paraphrasing cursed C. The question one would ask is… why? Well, because you also want to do
#define CheckWhatever2(x__, true__, false__) \ CheckWhatever((x__ ##1), (true__), (false__)) \ CheckWhatever((x__ ##2), (true__), (false__))
And, of course
#define CheckWhatever3(x__, true__, false__) \ CheckWhatever2((x__ ##1), (true__), (false__)) \ CheckWhatever2((x__ ##2), (true__), (false__))
- Comment on proportional reaction 2 days ago:
Never forget your roots
(setq x (if (> y 5) :foo :bar))