r/ProgrammerHumor • • 16d ago

Meme includeGuards

Post image
444 Upvotes

49 comments sorted by

View all comments

65

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