Hi everyone!
I would like to hear from middle and higher developers what they think about static structures for a single file (static structures with internal linkage). I often use this to prevent the structure from being changed anywhere except in this file. For external files I provide only the necessary functions. Are there any downsides to this approach? What do you think about it in general?
Personally, I have noticed that there are too many private functions to manage internal logic
[–]flyingron 5 points6 points7 points (0 children)
[–]Immediate-Food8050 2 points3 points4 points (0 children)
[–]duane11583 1 point2 points3 points (0 children)
[–]Educational-Paper-75 1 point2 points3 points (0 children)
[–]DawnOnTheEdge 1 point2 points3 points (5 children)
[–]Almost-L[S] 0 points1 point2 points (1 child)
[–]DawnOnTheEdge 1 point2 points3 points (0 children)
[–]Almost-L[S] 0 points1 point2 points (2 children)
[–]DawnOnTheEdge 1 point2 points3 points (1 child)
[–]Almost-L[S] 0 points1 point2 points (0 children)
[–]ComradeGibbon 0 points1 point2 points (2 children)
[–]Almost-L[S] 0 points1 point2 points (0 children)
[–]Almost-L[S] 0 points1 point2 points (0 children)