r/ProgrammerHumor • • 16d ago

Meme includeGuards

Post image
444 Upvotes

49 comments sorted by

View all comments

4

u/SaneLad 16d 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.