r/programminghorror • • Jul 05 '26

c Enterprise level C code

Post image
348 Upvotes

57 comments sorted by

View all comments

Show parent comment

9

u/TheChief275 Jul 05 '26

It's kind of error prone. If you mess up one of the commas etc. in the class definitions you will likely end up with near undecipherable errors for the average programmer. Debugging projects using these kinds of techniques can be quite a headache, which is why you would likely avoid it in production.

Though I did specifically focus on keeping it readable and not treading into Gobject levels of unreadable

3

u/Nilrem2 Jul 05 '26

Great, thank you, always learning.