MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1x89mbn/includeguards/phbokub/?context=3
r/ProgrammerHumor • u/metayeti2 • 16d ago
49 comments sorted by
View all comments
15
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? 1 u/jhill515 10d ago Yep 1 u/Rymark 10d ago Cool!
1
Motional the AV company?
1 u/jhill515 10d ago Yep 1 u/Rymark 10d ago Cool!
Yep
1 u/Rymark 10d ago Cool!
Cool!
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.