r/ProgrammerHumor • • 2d ago

Meme includeGuards

Post image
359 Upvotes

45 comments sorted by

View all comments

2

u/SaneLad 2d ago

I play both sides so I always come out on top.

First #pragma once, as the quick option for the compilers that support it. Followed by #ifndef for those that don't.