In my C project, I have a rather large utils.c file. It really is full of many utilities of all kinds. I feel a little naughty just picking up different different functions. For example, it has some utilities related to low-level elements, such as the lowercase () function, as well as some rather complex utilities, such as converting to / from different color formats.
My question is, is it really incomprehensible to have such a large utils.c with many different types of utilities in it? Should I split it into many different utility files? For example, graphics_utils.c etc. What do you think?
source
share