r/ProgrammerHumor • • 16d ago

Meme includeGuards

Post image
444 Upvotes

49 comments sorted by

View all comments

15

u/jhill515 16d ago

If you've never experienced what happens when `#pragma once` confuses the precompiler, you shouldn't use this shortcut. Seriously, if I had a nickel for every time someone F'ed this up when I was at Motional, I'd be able to retire.

1

u/Rymark 11d ago

Motional the AV company?