Quantcast
Channel: Active questions tagged questions - Meta Stack Overflow
Viewing all articles
Browse latest Browse all 603

Are questions about the "right" way to organize your code within files on topic?

$
0
0

I'm writing this C code in which inheritance is emulated by means of composition, and I'm unsure whether I should give each child struct its separate .c and header files as is normally done in other OO languages, or if I'd be better off just keeping them in the same two files. Would it be on topic to ask if there is a "right" answer to this problem, provided an MRE illustrating how the inheritance is emulated?


Viewing all articles
Browse latest Browse all 603

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>