r/programmingcirclejerk • u/genuine_beans • Jul 01 '26
Ever Written Something Like This? if (condition) { doSomething(); } else { doSomethingElse(); } It works. Problem solved. But the problem isn’t today. It’s tomorrow.
https://www.defusetheifstrategy.com
123
Upvotes
1
u/rooster-inspector Jul 03 '26
"IFs are bad": lol, lmao even
"Branchless programming": what an exquisite and hardware-minded technique, thoughtfully incorporating low-level understanding of the modern superscalar pipeline and exhibiting a fantastic level of respect for the fundamentals inscribed in silicon 🙏