Switching between code variants using comments

from blog Linus's blog, | ↗ original
Posted on April 1, 2024 by Linus Heckemann Warning: this post is for entertainment purposes only and explains a hack that everybody may hate you for actually using, as well as post-hoc justification for the hack. Proceed with caution. Sometimes I have a piece of code where I want to...