Closed frroossst closed 1 year ago
bro 💀 that's a lot of ifndef
could you elaborate what you mean by possible errors in linkage?
With a big enough project, we might end up creating circular dependencies which will cause a linker error when trying to compile the program. And it is generally a good practice to avoid double #include
s
https://en.wikipedia.org/wiki/Include_guard#Double_inclusion
It's just good practice to keep everything fairly standard as the code will tend towards more entropy as it gets larger and we rush code.
And yes, that's a lot of ifndef, but we aren't doing anything until after the new year's
To prevent possible errors in linkage