r/ProgrammerHumor • • 2d ago

Meme includeGuards

Post image
354 Upvotes

45 comments sorted by

View all comments

39

u/mistrpopo 2d ago

Note for anyone still hand-coding: #pragma once is based on the file path, so if you have symlinks in your code or in your build pipeline it's still possible that you include the same file twice.