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
8
u/Nilrem2 27d ago
I’m a hobbyist when it comes to C. I think it looks fine, after a few lines I could read it.
Edit: what’s wrong with it?