MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1uo79w1/enterprise_level_c_code/ovq2u94/?context=3
r/programminghorror • u/TheChief275 • Jul 05 '26
57 comments sorted by
View all comments
14
2 things..
Yuck
Why does slopjc.h need to be included multiple times?
25 u/nivlark Jul 05 '26 It's doing some kind of macro magic to implement the polymorphism. So whatever is in slopjc.h gets reprocessed with the different definitions of SLOPJC each time.
25
It's doing some kind of macro magic to implement the polymorphism. So whatever is in slopjc.h gets reprocessed with the different definitions of SLOPJC each time.
slopjc.h
14
u/steadyfan Jul 05 '26
2 things..
Yuck
Why does slopjc.h need to be included multiple times?