2 ms·
In my opinion, there is value in functions that have only one caller: it's called functional decomposition. The right granularity of functional decomposition ca
by kazinator 2y ago
In my opinion, there is value in functions that have only one caller: it's called functional decomposition. The right granularity of functional decomposition can make the logic easier to understand.
To prevent unintended uses of a helper function in C, you can make it static. Then at least nothing from outside of that translation unit can call it.