1
0
mirror of https://codeberg.org/emilwilliams/chad_standard synced 2024-11-25 12:42:00 -05:00
chad_standard/reasoning/header-guard/README.md

9 lines
485 B
Markdown
Raw Permalink Normal View History

2024-07-20 13:17:05 -04:00
## Justification for Define At End Header Guard -> Define At Beginning Header Guard.
Define At End Header Guard is a very pretty style for Header Guards, however is nonviable due to:
Define At End Header Guard fail to properly handle circular dependence as the define comes after the dependency,
hence using Define At Beginning Header Guard is always preferable.
This was brought to light by an long-term Anonymous contributor, and is responsible for this change and justification.