The big challenge in C, for me at least, is keeping code organized. It's simple ...
MOS_8502 @mos_8502@studio8502.ca
The big challenge in C, for me at least, is keeping code organized. It's simple enough to lint and format an individual file so it's readable, but how do you organize the code of the whole project?
Well, what I like to do is have one .h/.c file pair for each type I create. The .h file specifies the type and its API, and the .c file implements it. Pretty conventional stuff, mind you. Nothing special about it, but there are no "universal" practices in a language that enforces almost no safety at all.